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

(POOLER-166) Check for stale dns records #377

Merged
merged 2 commits into from
Jun 3, 2020
Merged

Conversation

sbeaulie
Copy link
Contributor

@sbeaulie sbeaulie commented May 29, 2020

Before this change we checked that the new vm name would not conflict with an existing vm already running and under the vmpooler management in redis.
We now also check if a DNS query returns an existing IP, which could happen if there are stale DNS record (or some other process registered the vm name already, like another vmpooler?). In that case we skip that name and try again.

@sbeaulie sbeaulie requested review from highb and mattkirby May 29, 2020 16:51
@sbeaulie sbeaulie requested a review from a team as a code owner May 29, 2020 16:51
@sbeaulie sbeaulie force-pushed the pooler_166_on_master branch 2 times, most recently from 3413486 to 6304743 Compare May 29, 2020 17:02
@rooneyshuman rooneyshuman merged commit 1f6f08d into master Jun 3, 2020
@rooneyshuman rooneyshuman deleted the pooler_166_on_master branch June 3, 2020 15:53
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