-
Notifications
You must be signed in to change notification settings - Fork 24.9k
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
Keep commits and translog up to the global checkpoint #27606
Merged
Merged
Changes from all commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
ad052ec
Keep index commits up to the global checkpoint
dnhatn 97e6cff
add doc for policy
dnhatn 48381a2
use set
dnhatn 4b9ebb6
compact switch
dnhatn 7f32e22
format
dnhatn 94b735f
add randomLong to ESTestCase
dnhatn ab262b1
move gcp policy to the combined policy
dnhatn 38310cd
Merge branch 'master' into gcp-deletion-policy
dnhatn 72a4190
Use the kept position
dnhatn 1e3d96b
Merge branch 'master' into gcp-deletion-policy
dnhatn 6b2646b
Delete all commits in OPEN_INDEX_CREATE_TRANSLOG
dnhatn b7177cd
more assert
dnhatn 12cae92
call lastGen() before minGen()
dnhatn dbdacc4
improve tests
dnhatn d07af94
tighten onInit()
dnhatn 639cac6
test advance minGen
dnhatn d146583
use matcher
dnhatn 2a6198e
inline small functions
dnhatn b819a8b
test: update local checkpoint
dnhatn b29623d
add comment onInit()
dnhatn 60a204f
resume out of order test
dnhatn 6b74ab1
use TRANSLOG_UUID_KEY to valid commit
dnhatn d8705b4
minor feedbacks
dnhatn 7ec417c
use size retention translog
dnhatn 6733b75
do not use size-retention translog
dnhatn 3a67d4d
do nothing with OPEN_INDEX_CREATE_TRANSLOG
dnhatn 53702f9
simplify the recovery tests
dnhatn 5644456
just test keep only one safe commit
dnhatn dad3a1b
assert #forceNewHistoryUUID
dnhatn b18725c
keeps ops after local checkpoint of safe commit
dnhatn 09b0f91
explain the assertion
dnhatn ce8b52d
Merge branch 'master' into gcp-deletion-policy
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 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 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 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 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.
can we extend this to doc the first that we trim old commits that have a different translog uuid (and why)?
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 added a comment.