Repository navigation
WPB-29575: migrate user key store to PostGreSQL - #5642
Open
blackheaven wants to merge 3 commits into
Open
blackheaven wants to merge 3 commits into
blackheaven wants to merge 3 commits into
Conversation
blackheaven
force-pushed
the
gdifolco/WPB-29575-migration-postgres-user-keys
branch
2 times, most recently
from
November 4, 2026 13:52
32c7112 to
5e86f91
Compare
blackheaven
force-pushed
the
gdifolco/WPB-29575-migration-postgres-user-keys
branch
2 times, most recently
from
November 10, 2026 07:54
d177495 to
2c00faf
Compare
…claimKeyImpl - Copy loop (Migration.hs) now calls Postgres.insertUserKeyIfAbsent (ON CONFLICT (key) DO NOTHING): a stale Cassandra snapshot must never clobber a newer Postgres row, e.g. a key reclaim after the row was copied. The dual-write mirror keeps ON CONFLICT DO UPDATE because it mirrors the unconditional Cassandra overwrite of insertKeyImpl. - DualWrite.ClaimKey delegates to the Cassandra claimKeyImpl instead of re-implementing its read-then-write, then mirrors the insert.
…gs, migration tests)
blackheaven
force-pushed
the
gdifolco/WPB-29575-migration-postgres-user-keys
branch
from
November 13, 2026 11:13
4c3f4b3 to
3f23f71
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
https://wearezeta.atlassian.net/browse/WPB-29575
Checklist
changelog.d