Skip to content

Commit 9e639cc

Browse files
authored
Transactions convenient api alignment (mongodb#1898)
1 parent ce6bc33 commit 9e639cc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

source/transactions-convenient-api/transactions-convenient-api.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@ Previously, the driver would retry transactions immediately, which is fine for l
416416
server load increases, immediate retries can result in retry storms, unnecessarily further overloading the server.
417417

418418
Exponential backoff is well-researched and accepted backoff strategy that is simple to implement. A low initial backoff
419-
(1-millisecond) and growth value (1.25x) were chosen specifically to mitigate latency in low levels of contention.
419+
(5-milliseconds) and growth value (1.5x) were chosen specifically to mitigate latency in low levels of contention.
420420
Empirical evidence suggests that 500-millisecond max backoff ensured that a transaction did not wait so long as to
421421
exceed the 120-second timeout and reduced load spikes.
422422

@@ -439,6 +439,8 @@ provides an implementation of a technique already described in the MongoDB 4.0 d
439439

440440
## Changelog
441441

442+
- 2026-02-20: Fix initial backoff and growth value parameters in "Design Rationale" section.
443+
442444
- 2026-02-17: Clarify expected error when timeout is reached
443445
[DRIVERS-3391](https://jira.mongodb.org/browse/DRIVERS-3391).
444446

0 commit comments

Comments
 (0)