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
| Metric | Value |
|---|---|
| PARITY entries audited | 55 (55 ok) |
| Feature families | 9 (9 ok) |
| Known gaps | none |
| Structural gaps (can't be emulated) | 5 |
| Deferred items | 1 |
| Resource leaks | clean |
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
tlsparameter (default enabled;DOCDB_TLS=falseturns 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
| Operation | Wire | Errors | State | Persist |
|---|---|---|---|---|
CreateDBCluster | ok | ok | ok | ok |
DescribeDBClusters | ok | ok | ok | ok |
DeleteDBCluster | ok | ok | ok | ok |
ModifyDBCluster | ok | ok | ok | ok |
StopDBCluster | ok | ok | ok | ok |
StartDBCluster | ok | ok | ok | ok |
FailoverDBCluster | ok | ok | ok | ok |
RestoreDBClusterFromSnapshot | ok | ok | ok | ok |
RestoreDBClusterToPointInTime | ok | ok | ok | ok |
CreateDBInstance | ok | ok | ok | ok |
DescribeDBInstances | ok | ok | ok | ok |
DeleteDBInstance | ok | ok | ok | ok |
ModifyDBInstance | ok | ok | ok | ok |
RebootDBInstance | ok | ok | ok | ok |
CreateDBSubnetGroup | ok | ok | ok | ok |
DescribeDBSubnetGroups | ok | ok | ok | ok |
DeleteDBSubnetGroup | ok | ok | ok | ok |
ModifyDBSubnetGroup | ok | ok | ok | ok |
CreateDBClusterParameterGroup | ok | ok | ok | ok |
DescribeDBClusterParameterGroups | ok | ok | ok | ok |
DeleteDBClusterParameterGroup | ok | ok | ok | ok |
ModifyDBClusterParameterGroup | ok | ok | ok | ok |
CopyDBClusterParameterGroup | ok | ok | ok | ok |
ResetDBClusterParameterGroup | ok | ok | ok | ok |
DescribeDBClusterParameters | ok | ok | ok | ok |
DescribeEngineDefaultClusterParameters | ok | n/a | ok | n/a |
CreateDBClusterSnapshot | fixed | ok | ok | ok |
DescribeDBClusterSnapshots | ok | ok | ok | ok |
DeleteDBClusterSnapshot | ok | ok | fixed | ok |
CopyDBClusterSnapshot | fixed | ok | fixed | ok |
DescribeDBClusterSnapshotAttributes | ok | ok | ok | ok |
ModifyDBClusterSnapshotAttribute | ok | ok | ok | ok |
CreateEventSubscription | ok | ok | ok | ok |
DescribeEventSubscriptions | ok | ok | ok | ok |
DeleteEventSubscription | ok | ok | ok | ok |
ModifyEventSubscription | ok | ok | ok | ok |
AddSourceIdentifierToSubscription | ok | ok | ok | ok |
RemoveSourceIdentifierFromSubscription | ok | ok | ok | ok |
DescribeEventCategories | ok | n/a | ok | n/a |
DescribeEvents | ok | n/a | ok | ok |
CreateGlobalCluster | fixed | ok | ok | ok |
DescribeGlobalClusters | ok | ok | ok | ok |
DeleteGlobalCluster | ok | ok | ok | ok |
ModifyGlobalCluster | ok | ok | ok | ok |
FailoverGlobalCluster | ok | ok | ok | ok |
SwitchoverGlobalCluster | ok | ok | ok | ok |
RemoveFromGlobalCluster | ok | ok | ok | ok |
ListTagsForResource | ok | n/a | ok | ok |
AddTagsToResource | ok | ok | ok | ok |
RemoveTagsFromResource | ok | n/a | ok | ok |
DescribeDBEngineVersions | ok | n/a | ok | n/a |
DescribeOrderableDBInstanceOptions | ok | n/a | n/a | n/a |
DescribeCertificates | ok | n/a | n/a | n/a |
ApplyPendingMaintenanceAction | ok | ok | ok | ok |
DescribePendingMaintenanceActions | ok | n/a | ok | ok |
Audited Feature Families
| Feature Family | Status |
|---|---|
DBCluster | ok |
DBInstance | ok |
DBClusterParameterGroup | ok |
DBSubnetGroup | ok |
DBClusterSnapshot | ok |
EventSubscription | ok |
GlobalCluster | ok |
Tags | ok |
ClusterEndpoint | n/a |
