-
Notifications
You must be signed in to change notification settings - Fork 768
Improving the default PDB implementation. #8780
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
65
commits into
elastic:main
Choose a base branch
from
naemono:2936/default-pdb-improvements
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.
+2,447
−209
Open
Changes from all commits
Commits
Show all changes
65 commits
Select commit
Hold shift + click to select a range
280634c
Nearly functional implementation.
naemono 50c1aaa
Adding additional tests.
naemono 85c661a
Move to dfs.
naemono e8367cb
Restore old disruption behavior.
naemono 0d65a39
Fix get most conservative role
naemono 657121e
Optimization
naemono d9dcc1e
Adding additional unit tests.
naemono 4fa170a
Simplify the sorting.
naemono b3a166b
Simplify further.
naemono a4951be
Comments update; wrap the error.
naemono ec17cd3
Remove some comments.
naemono 33fe7d0
Optimizations
naemono fc7059d
Break the dfs tasks into smaller funcs
naemono 51aab4b
revert license adjustment
naemono 30e223f
remove comment
naemono b59475a
adjust var name
naemono f6aa60e
updating comments.
naemono 6d70499
comment update.
naemono 2d15efd
remove tab
naemono ac580ec
pre-allocate empty slices of slices.
naemono a4aad89
fix lint issues.
naemono eb25e46
Update CRD comments/docs
naemono 08b882e
Adjust some wording according to review notes.
naemono cc71d0e
Restore old behavior for single pdb for a whole cluster.
naemono b021c97
Use single data roles grouping
naemono 27cc308
Ensure pdbs that should not exist are deleted.
naemono 43a0e7f
Ensure checks are role-specific.
naemono 675bd2e
Just build coord logic into the func itself
naemono 3fdc4dc
naming
naemono 2f15c01
wip migrating to different algorithm
naemono a65b56a
fixing unit tests
naemono f0c0b1a
Fixing all unit tests
naemono e755bc1
Merge branch 'main' into 2936/default-pdb-improvements
naemono 3a0d3d0
Fix the ordering issue
naemono 27277a1
revert test name change.
naemono 49a9faf
Comments fix
naemono bcc802c
renaming files.
naemono 1b6adff
rename again
naemono 0a3699c
rename test file also.
naemono f53346c
Nearly fixed all unit tests
naemono 83d674b
Unit tests passing.
naemono 982efef
use nodeRoles not strings
naemono 4b2d695
naming
naemono 41ecaed
comments
naemono 96e3e46
Handle both v1 and v1beta1 PDB objects.
naemono 5af35a4
Use sets instead
naemono 2bb18a4
Create a coordinating nodeRole and use it.
naemono 0176f96
Use existing ownerref func
naemono 6361851
Move the naming of the pdb func.
naemono 8466261
expired license comment.
naemono 091ce74
Fix unit tests
naemono 254b60c
Move priority slice to Noderole slices
naemono 30966c8
Fix some lint issues
naemono cc76108
make generate
naemono 6ddc18c
Fix some linting issues
naemono 4954437
Fix notice
naemono dcbb908
Move to using types, not strings.
naemono c8d8099
uncomment a test
naemono 512fb2e
Removing v1b1 pdb logic.
naemono d37c3d0
Fix unit tests
naemono f81768e
Fix issue when defining max disruptions allowed.
naemono 357be7c
fixing unit tests
naemono b6a45c4
Ensure all roles vs coordinating roles is treated properly
naemono 5e1d2f5
make generate
naemono 8bd29c0
remove unneeded version file.
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
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
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
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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was required as these other data* node role types should be considered in this function, right?