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

Prevent IP / alt IP conflicts #32

Open
MartinKolarik opened this issue Oct 12, 2024 · 0 comments
Open

Prevent IP / alt IP conflicts #32

MartinKolarik opened this issue Oct 12, 2024 · 0 comments

Comments

@MartinKolarik
Copy link
Member

Depending on timing, it is currently possible we'd register a single alt IP for multiple probes, or we'd register the same IP once as primary and once as alt. It seems like a good idea to add trigger checks for these:

  • changing primary IP - it doesn't exist in altIps yet
  • changing altIps - it doesn't exist in either primary IPs or altIps

Additionally, we should add a check here that if it fails to update, it's as if the probe wasn't found at all.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants