AWS Security ChangesHomeSearch

AWS documentdb: Java driver guide: retryWrites now configurable by engine version

Service: documentdb · 2026-09-29 · Documentation low

File: documentdb/latest/devguide/java-pg-connect-mongo-driver.md

Summary

Replaces the instruction to always set retryWrites=false with guidance that retryable writes are supported from engine version 8.0.2 (set retryWrites=true) and must remain false on earlier versions, linking to the retryable writes page.

Security assessment

The diff only changes driver connection parameter guidance for a compatibility feature. It does not describe a vulnerability, hardening step, or data-protection control, so it is not security-relevant.

Evidence

+**`retryWrites`** — Starting with engine version 8.0.2, Amazon DocumentDB supports retryable writes. Set `retryWrites=true` to enable. On engine versions earlier than 8.0.2, set this attribute to `false`. For more information, see [Retryable writes in Amazon DocumentDB](./retryable-writes.html).

Diff

diff --git a/documentdb/latest/devguide/java-pg-connect-mongo-driver.md b/documentdb/latest/devguide/java-pg-connect-mongo-driver.md
index 6bb65d8c7..a1592c6e0 100644
--- a//documentdb/latest/devguide/java-pg-connect-mongo-driver.md
+++ b//documentdb/latest/devguide/java-pg-connect-mongo-driver.md
@@ -119 +119 @@ Write concern determines the level of acknowledgment requested from the database
-**`retryWrites=false`** — DocumentDB does not support retryable writes and therefore this attribute should always be set to `false`.
+**`retryWrites`** — Starting with engine version 8.0.2, Amazon DocumentDB supports retryable writes. Set `retryWrites=true` to enable. On engine versions earlier than 8.0.2, set this attribute to `false`. For more information, see [Retryable writes in Amazon DocumentDB](./retryable-writes.html).