mirror of
https://github.com/floci-io/floci.git
synced 2026-11-27 07:39:24 -05:00
With a store that writes single items, BatchWriteItem saved its items in one pass after the item locks were released. That pass could read an item, lose the race to a concurrent write of the same key, and then save the stale copy over it. Save each item inside its write, as PutItem and DeleteItem do; a whole-table store still saves once at the end.