-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Let minions try to connect to master indefinitly #50855
Conversation
@Ch3LL @DmitryKuzmenko @garethgreenaway I've tested that this also resolves #50791. Pun intended ;) Scenario's tested:
|
Random sleep time adjustment? i.e. to prevent all of the minions trying at about the same time to connect, and causing a wave effect against the master when it returns. It not I suggest its added to the code. + or - 10% of the interval time. |
@dwoz i believe when @garethgreenaway was trying to fix this initially it was to fix multi-master with dns (dns names as the master in the minion config). Did you happen to test with dns or ip addresses? |
nevermind. I looked it up here: #49764 and it seems it should only work when using the new |
@Ch3LL I my testing I used DNS with resolvable and un-resolvable hosts. @damon-atkins That is a good idea but this is a bugfix. Changes should go in a feature. |
Given that this is still pre-release, this might still be feasible, IMHO. |
I'd still like to see that go in a different PR to keep added functionality separate from the bugfix found here. |
We need to ensure this does not regress this fix, IMHO: |
@cachedout We discussed this on slack and @garethgreenaway agreed that this change is what we want. Just waiting for @garethgreenaway to sign off by approving this PR. |
What does this PR do?
Do not exit when the minion can't connect to a master.
What issues does this PR fix or reference?
#50854
Tests written?
No
Commits signed with GPG?
Yes