-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Unpromotables skip replication and peer recovery #93210
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
Merged
kingherc
merged 25 commits into
elastic:main
from
kingherc:feature/promotable-skip-recovery-replication
Jan 31, 2023
Merged
Changes from all commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
cce93a3
Unpromotables skip replication and peer recovery
kingherc 2188af0
Update docs/changelog/93210.yaml
kingherc 4a2f8b3
New Refresh action for unpromotable replicas
kingherc 04928d2
Merge remote-tracking branch 'main' into feature/promotable-skip-reco…
kingherc 06fb59b
Reviewer comments on refresh
kingherc 7ce55fb
Merge remote-tracking branch 'main' into feature/promotable-skip-reco…
kingherc 25d50cb
Fixes
kingherc b817173
Add unpromotable refresh to NON_OPERATOR_ACTIONS
kingherc 33d9218
PR comments
kingherc 540b071
Hide unpromotable refresh action from clients
kingherc 992dbcf
Test no replication actions in search node
kingherc 995b6ad
Catch exceptions of primary refresh
kingherc 9561ed8
Remove unnecessary line
kingherc 369f20e
Change stages for TRANSLOG stage
kingherc 9da083b
Small cleanup
kingherc f02d527
Small cleanup
kingherc 5b1a0d1
Only one small refresh
kingherc cefcd23
Fix checkstyle
kingherc df74f9e
Fix test with promotable shards only
kingherc 7fae710
Better split in PeerRecoveryTargetService
kingherc 8f81146
Merge remote-tracking branch 'main' into feature/promotable-skip-reco…
kingherc 515f7e3
Test with more than 1 unpromotable nodes
kingherc b8bf26c
Simplify useRetentionLeasesInPeerRecovery
kingherc 4b74661
Merge remote-tracking branch 'main' into feature/promotable-skip-reco…
kingherc fb6a63c
Adopt new ActionListener.run
kingherc 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| pr: 93210 | ||
| summary: Unpromotables skip replication and peer recovery | ||
| area: Allocation | ||
| type: enhancement | ||
| issues: [] |
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
58 changes: 0 additions & 58 deletions
58
.../main/java/org/elasticsearch/action/admin/indices/refresh/ReplicaShardRefreshRequest.java
This file was deleted.
Oops, something went wrong.
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.