Skip to content
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? Sign in to your account

SetupFlow should check if target peer's mirror_jobs table already has a mirror with the same name, even if catalog doesn't have metadata #135

Open
heavycrystal opened this issue Jun 16, 2023 · 0 comments

Comments

@heavycrystal
Copy link
Contributor

This can happen if the catalog database is truncated or otherwise modified, which could happen across installs. Also if multiple instances of PeerDB are running and they are connected to different catalog databases.

We could either error out, since we cannot be sure if another flow worker is running, or set sync_batch_id and normalize_batch_id to 0 and proceed with flow creation.

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

No branches or pull requests

1 participant