Files
floci/docs/configuration
Priamo Germosen 11b66161cd feat(dynamodb): opt-in TransactionConflict emulation for contending transactions (#9179)
With floci.services.dynamodb.transaction-conflicts-enabled on, a
TransactWriteItems keeps its items busy from the moment its conditions
hold until 10 ms after it commits, and answers when that time is up.
While an item is busy, a PutItem, UpdateItem, DeleteItem or single-item
PartiQL write on it fails with TransactionConflictException, and another
TransactWriteItems or a TransactGetItems that reaches it is cancelled
with the reason TransactionConflict, as the developer guide describes.
GetItem, Query, Scan and BatchWriteItem are unaffected, and a
transaction that is cancelled holds nothing.

The busy mark is a deadline kept beside the item, so no item lock is
held during the wait. Off, the default, transactions keep serializing on
their item locks as before. The switch is refused at startup on the
local backend.

Closes #4523
2026-11-22 01:03:17 -04:00
..