Context / Problem
The transaction retry loops spin while (true) and rely entirely on FoundationDB's on_error backoff to eventually throw on non-retryable errors:
src/Database.php:62-89,199-267
There is no library-level retry/time ceiling and no convenient way to set a default RETRY_LIMIT/TIMEOUT. A persistently conflicting workload can spin indefinitely.
Affected files / locations
- src/Database.php:62-89,199-267
Proposed approach
Document the unbounded retry behavior and provide an optional, configurable default retry limit and/or timeout applied to transactions created via the convenience helpers, without changing the default FDB semantics for users who do not opt in.
Acceptance Criteria
Severity
Low
Context / Problem
The transaction retry loops spin
while (true)and rely entirely on FoundationDB's on_error backoff to eventually throw on non-retryable errors:There is no library-level retry/time ceiling and no convenient way to set a default RETRY_LIMIT/TIMEOUT. A persistently conflicting workload can spin indefinitely.
Affected files / locations
Proposed approach
Document the unbounded retry behavior and provide an optional, configurable default retry limit and/or timeout applied to transactions created via the convenience helpers, without changing the default FDB semantics for users who do not opt in.
Acceptance Criteria
Severity
Low