Retryable writes help applications maintain resilience by automatically retrying supported write operations once if transient errors like network interruptions or primary failovers occur. Amazon DocumentDB implemented this at engine version 8.0.2, simplifying migration for MongoDB-compatible applications by not requiring the disabling of retryWrites.
Supported commands include all write operations except updateMany and deleteMany, as well as transaction commits and aborts. Earlier versions lack this support and require retryWrites to be disabled to avoid errors. This feature is available on both instance-based and serverless DocumentDB clusters across all regions where version 8.0 is offered.
Source & further reading
Amazon DocumentDB (with MongoDB compatibility) now supports retryable writes ↗Source published 2026-09-28. This report was prepared with AI assistance from the linked primary-source material. Claims and limitations should be checked against the original announcement or research.