-
Notifications
You must be signed in to change notification settings - Fork 25.3k
Use Lucene soft-deletes in peer recovery #30522
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
Merged
Changes from all commits
Commits
Show all changes
46 commits
Select commit
Hold shift + click to select a range
b18eb06
Introduce soft-deletes retention policy for peer recovery
dnhatn 4b2e385
Don’t check local_checkpoint in commit
dnhatn 176b497
Prefer synchronized methods
dnhatn 9ae627c
Remove force-merge
dnhatn ff2215c
Merge branch 'ccr' into safecommit-mergepolicy
dnhatn 188138d
Add +1 in 1 place
dnhatn 6d901bf
Merge branch 'ccr' into safecommit-mergepolicy
dnhatn 8a78f65
acquireTranslogRetentionLock -> acquireRetentionLockForPeerRecovery
dnhatn 6fe8847
Cut over the translog snapshot
dnhatn cc2b3f0
testRecoveryWithOutOfOrderDelete with Lucene history
dnhatn 0612a05
Adapt PrimaryReplicaSyncerTests test
dnhatn a61d00b
Mute two more tests
dnhatn f3f1fa2
Add discuss
dnhatn 65b8458
comment
dnhatn fc3d7d1
Update testRecoveryWithOutOfOrderDelete
dnhatn bd1b8ac
Minor feedback
dnhatn b1e73aa
Fix recovery tests
dnhatn f7ea71c
Merge branch 'ccr' into safecommit-mergepolicy
dnhatn 04112c6
Merge branch 'ccr' into safecommit-mergepolicy
dnhatn e34154a
Merge branch 'ccr' into safecommit-mergepolicy
dnhatn 1531024
use retention policy to decide seq# or file-based
dnhatn 86c3eba
Fix an engine test
dnhatn b3d0d5f
fix test - wait for flush
dnhatn 8320647
Merge branch 'ccr' into safecommit-mergepolicy
dnhatn 6b95e21
bootstrap from max_seqno from an empty commit
dnhatn 3be0e30
harden bootstrap
dnhatn ca3f781
naming
dnhatn 65ede0b
getMaxExposedSeqNoToMergePolicy -> getMaxExposedSeqNo
dnhatn a0e58b9
Merge branch 'ccr' into safecommit-mergepolicy
dnhatn c1e03d1
decouple min_retained seqno from merge policy
dnhatn c5ba76f
Merge branch 'ccr' into safecommit-mergepolicy
dnhatn 33be718
simplify tests
dnhatn c717bf7
Merge branch 'ccr' into safecommit-mergepolicy
dnhatn df132e1
minSeqNo -> startingSeqNo
dnhatn 1bcd443
Merge branch 'ccr' into safecommit-mergepolicy
dnhatn f232c8a
Merge branch 'ccr' into safecommit-mergepolicy
dnhatn 591d521
Merge branch 'ccr' into safecommit-mergepolicy
dnhatn 76a035f
Merge branch 'ccr' into safecommit-mergepolicy
dnhatn 78c0d92
Adjust testForceMergeWithSoftDeletesRetentionAndRecoverySource
dnhatn c30de4a
Merge branch 'ccr' into safecommit-mergepolicy
dnhatn 5ff18f9
overriddenOperations -> skippedOperations
dnhatn 8a37126
Merge branch 'ccr' into safecommit-mergepolicy
dnhatn 88950b3
Merge branch 'ccr' into safecommit-mergepolicy
dnhatn dbe0472
Merge branch 'ccr' into safecommit-mergepolicy
dnhatn f9eeb90
Naming
dnhatn ccb6e80
Merge branch 'ccr' into safecommit-mergepolicy
dnhatn 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
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.
I think we can remove this as a follow up, in favor of readHistoryOperations ?
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.
Yes, we will remove this method after making primary-replica resync use Lucene.