Skip to content

DocumentDB ​

Parity grade: A · SDK aws-sdk-go-v2/service/docdb@v1.57.3 · last audited 2026-10-12 (6279ba35a)

Category: Database · View PARITY.md on GitHub · All Services

Parity & Coverage ​

MetricValue
PARITY entries audited55 (55 ok)
Feature families9 (9 ok)
Known gapsnone
Structural gaps (can't be emulated)5
Deferred items1
Resource leaksclean

Structural Gaps ​

These do not block an A grade — no implementation could produce real data here because the underlying data source cannot exist in an emulator.

  • Docker engine (--docdb-engine=docker): one mongo container per cluster (3.6/4.0 map to mongo:4.4, 5.0 to mongo:5.0), TLS per the cluster tls parameter (default enabled; DOCDB_TLS=false turns TLS off engine-wide; see the 2026-10-20 note); the master user is a mongod root user, so SCRAM-SHA-1/SCRAM-SHA-256 are enforced by mongod itself; instances share the cluster container (one endpoint serves Endpoint, ReaderEndpoint and every instance), and restore-from-snapshot/PITR/persistence-restore relaunch an empty container with a random password because no data is carried.
  • DBInstance PendingModifiedValues/StatusInfos, DBCluster PercentProgress and GlobalCluster FailoverState describe async windows this backend never has: every Modify/Failover/Restore applies synchronously.
  • DBCluster AssociatedRoles: the docdb API has no role-association operation.
  • CreateDBCluster/CopyDBClusterSnapshot SourceRegion and PreSignedUrl: no cross-region copy; RebootDBInstance ForceFailover: instances have no Multi-AZ attribute; RestoreDBClusterToPointInTime copy-on-write: no shared storage layer, a full copy is made.
  • DescribeDBClusterSnapshots IncludePublic/IncludeShared: single-account emulator has no cross-account snapshots, so the filters have no observable effect.

Deferred Items ​

  • Failover/Switchover to a target that is not a member of the global cluster is a silent no-op or attaches a known local cluster as writer rather than erroring: the pinned SDK documents no error code for the case.

Audited Operations ​

55 audited operations
OperationWireErrorsStatePersist
CreateDBClusterokokokok
DescribeDBClustersokokokok
DeleteDBClusterokokokok
ModifyDBClusterokokokok
StopDBClusterokokokok
StartDBClusterokokokok
FailoverDBClusterokokokok
RestoreDBClusterFromSnapshotokokokok
RestoreDBClusterToPointInTimeokokokok
CreateDBInstanceokokokok
DescribeDBInstancesokokokok
DeleteDBInstanceokokokok
ModifyDBInstanceokokokok
RebootDBInstanceokokokok
CreateDBSubnetGroupokokokok
DescribeDBSubnetGroupsokokokok
DeleteDBSubnetGroupokokokok
ModifyDBSubnetGroupokokokok
CreateDBClusterParameterGroupokokokok
DescribeDBClusterParameterGroupsokokokok
DeleteDBClusterParameterGroupokokokok
ModifyDBClusterParameterGroupokokokok
CopyDBClusterParameterGroupokokokok
ResetDBClusterParameterGroupokokokok
DescribeDBClusterParametersokokokok
DescribeEngineDefaultClusterParametersokn/aokn/a
CreateDBClusterSnapshotfixedokokok
DescribeDBClusterSnapshotsokokokok
DeleteDBClusterSnapshotokokfixedok
CopyDBClusterSnapshotfixedokfixedok
DescribeDBClusterSnapshotAttributesokokokok
ModifyDBClusterSnapshotAttributeokokokok
CreateEventSubscriptionokokokok
DescribeEventSubscriptionsokokokok
DeleteEventSubscriptionokokokok
ModifyEventSubscriptionokokokok
AddSourceIdentifierToSubscriptionokokokok
RemoveSourceIdentifierFromSubscriptionokokokok
DescribeEventCategoriesokn/aokn/a
DescribeEventsokn/aokok
CreateGlobalClusterfixedokokok
DescribeGlobalClustersokokokok
DeleteGlobalClusterokokokok
ModifyGlobalClusterokokokok
FailoverGlobalClusterokokokok
SwitchoverGlobalClusterokokokok
RemoveFromGlobalClusterokokokok
ListTagsForResourceokn/aokok
AddTagsToResourceokokokok
RemoveTagsFromResourceokn/aokok
DescribeDBEngineVersionsokn/aokn/a
DescribeOrderableDBInstanceOptionsokn/an/an/a
DescribeCertificatesokn/an/an/a
ApplyPendingMaintenanceActionokokokok
DescribePendingMaintenanceActionsokn/aokok

Audited Feature Families ​

Feature FamilyStatus
DBClusterok
DBInstanceok
DBClusterParameterGroupok
DBSubnetGroupok
DBClusterSnapshotok
EventSubscriptionok
GlobalClusterok
Tagsok
ClusterEndpointn/a

Released under the MIT License.