8000 Resync fix: update cfg with state before resync calls by Amogh-Bharadwaj · Pull Request #2917 · PeerDB-io/peerdb · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Resync fix: update cfg with state before resync calls #2917

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? 8000 Sign in to your account

Merged
merged 1 commit into from
May 8, 2025

Conversation

Amogh-Bharadwaj
Copy link
Contributor

There was a regression introduced by #2764 where we update the flow configuration proto in the flows table in drop flow when we trigger resync.

Unfortunately the mirror configuration passed to this operation as input is an outdated configuration which does not have the latest flow updates - sync interval, batch size or table mappings. So none of those get passed on to the new resynced mirror.

@Amogh-Bharadwaj Amogh-Bharadwaj merged commit 588779d into main May 8, 2025
9 checks passed
@Amogh-Bharadwaj Amogh-Bharadwaj deleted the fix-resync-state-syncing branch May 8, 2025 17:54
Amogh-Bharadwaj added a commit that referenced this pull request May 9, 2025
This PR adds a test to check if resync picks up added tables and they
are well and truly part of the CDC pipeline.
It is a follow-up of #2917
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0