You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
DynamoDB: make the upgrade to name bindings fence out 4.2 writers #2105
On file and object stores the upgrade to name bindings retires ns@v2/, so a 4.2 process still running against the store fails on every read and write of an existing ledger. On DynamoDB, 4.2 and the upgraded release read and write the same items, and the only fence against a 4.2 writer is the IAM recipe in docs/operations/upgrading-from-4.2.md. Without it, a 4.2 process can:
create ledgers the upgraded release does not see;
commit to a branch whose drop is in progress;
commit into a ledger recreated under a name it held, since 4.2's publish checks only that t moves forward and the recreated ledger starts again at t 0.
The migration already rewrites every item to add fences. Moving the head and index items to new sort keys at migration (or changing the meta item's kind) would make a 4.2 commit fail attribute_exists(#pk) and a 4.2 lookup find nothing, the DynamoDB counterpart of retiring ns@v2/. The IAM recipe would then be defence in depth. This matters most for serverless deployments, where stopping every process at once is hardest.
It changes every DynamoDB access path, the migration, and the rollback story (a restored backup must still be readable by 4.2).
Activity