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

"Duplicate of an existing monitor_id:..." should cause the syncer to restart #306

Open
zdrve opened this issue Dec 14, 2023 · 1 comment

Comments

@zdrve
Copy link
Collaborator

zdrve commented Dec 14, 2023

The above error seems to be the result of a race condition of some kind (I can't say with complete confidence yet what's happening). Very often, it seems that the monitor ID it reports is effectively exactly the same one that it's trying to create (i.e. same kennel tracking id).

If we see the "duplicate of an existing monitor" error, then we should restart the syncer update from the top – but only do this once, to avoid looping.

@zdrve zdrve changed the title "Duplicate of an existing monitor_id:..." should cause the plan to restart "Duplicate of an existing monitor_id:..." should cause the syncer to restart Dec 14, 2023
@grosser
Copy link
Owner

grosser commented Dec 14, 2023

never saw that being part of a race condition 😞
no idea what the root cause could be ... except for someone reusing constants for kennel ids and then changing them

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

2 participants