-
Notifications
You must be signed in to change notification settings - Fork 775
Upgrade masters last when upgrading ES clusters #8871
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
Open
naemono
wants to merge
41
commits into
elastic:main
Choose a base branch
from
naemono:fix-sts-upgrade-issue-recreation
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+725
−22
Open
Changes from all commits
Commits
Show all changes
41 commits
Select commit
Hold shift + click to select a range
9db32d0
Upgrade masters last when upgrading ES clusters
naemono 39b2702
Fix lint issue
naemono 50b3954
Add e2e test for upgrade order.
naemono 00555c2
unexport things in e2e tests
naemono 88cb347
Also look at the current/target version while determining whether sts is
naemono 790d3f1
Fix tests
naemono 4b944d1
Merge branch 'fix-sts-upgrade-issue-recreation' of github.com:naemono…
naemono d9885ba
Fix the unit tests for master last upgrades
naemono efa8643
fix linter
naemono 6914708
move closer to use.
naemono 2dc664b
Ensure requeue
naemono 46c726c
adjust comments
naemono fccf6c3
Adjust logging in e2e test
naemono 8feef24
Don't compare masters against other masters or themselves.
naemono 0f5a31a
Fix spelling
naemono 030fe16
Also check the generation/observedGeneration.
naemono 6c9e2c5
Merge branch 'fix-sts-upgrade-issue-recreation' of github.com:naemono…
naemono 0db51d8
Debugging
naemono 57c71a9
Remove useless if check.
naemono c89e872
More targeted debugging
naemono 068fa54
More debugging
naemono 0af6b85
Debugging pod upgrade logic.
naemono 54f9775
Attempt fix for blocked sts upgrades
naemono 5dfdd05
Bug fix adding new master role to existing non-master sts.
naemono edf3faf
More debugging
naemono a6d8edc
Adjust to logical or
naemono 8cfa06c
Simplify logic in HandleUpscaleAndSpecChanges
naemono c2e1161
Remove debugging
naemono 1dcef6c
comments
naemono eb963e5
Use expectations.
naemono 518d69d
Remove duplicative check now that using expectations.
naemono 16fd9ec
Attempt allow replicas update master (wip)
naemono 8273152
Fix the code allowing replica updates during upgrades.
naemono 11cc0e6
Add comment to test
naemono 645e088
Apply review comments
naemono 3e95b2d
More review comments
naemono 7f00388
Ensure the StatefulSet controller has observed the latest generation.
naemono 5142908
Use reconcileStatefulSet directly
naemono 4afe2e4
Add comment for 404
naemono 4b966db
Only attempt upscale of masters when there are non-masters
naemono 6321a96
Adjust e2e test
naemono File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.