-
Notifications
You must be signed in to change notification settings - Fork 25.2k
Advance checkpoints only after persisting ops #43205
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 46 commits
Commits
Show all changes
48 commits
Select commit
Hold shift + click to select a range
3b52416
Only advance local checkpoint when fsynced ops
ywelsch 24666d4
Use persisted global checkpoint
ywelsch b500abf
fix tests
ywelsch 8595991
fix more tests
ywelsch 0b42111
fix more tests
ywelsch 1d859a7
distinguish between persisted and non-persisted checkpoint
ywelsch 502c5c9
rename and fixes
ywelsch ef396b8
Disable async durability for index close tests
ywelsch 0c48432
disable async fsync
ywelsch f81a5c4
Distinguish between persisted and computed global checkpoint in Repli…
ywelsch e061760
more minor fixes
ywelsch 898df9d
fix more tests
ywelsch 85e8bfd
2 phase closing
ywelsch 5958bb8
reenable tests
ywelsch 78b9120
checkstyle
ywelsch 6a4e568
add BWC for verifiy before close
ywelsch 4848693
checkstyle
ywelsch 07e8dec
fix test
ywelsch eb4181e
use async durability for extensive testing
ywelsch 56fe3d8
Use request level durability for corruption tests
ywelsch 1050e5d
when one flush is not enough
ywelsch 6532b15
simplify ReplicationTracker
ywelsch 3b669b4
checkstyle
ywelsch 7757231
rename and test fix
ywelsch 7dff7f0
checkstyle and more
ywelsch abd063d
randomize durability again
ywelsch 9edaf79
Add tests for TranslogWriter
ywelsch 2e60635
Add test that shows gcp is safe
ywelsch c556bfe
Merge remote-tracking branch 'elastic/master' into fsync-local-checkp…
ywelsch 54e492a
Nhat's feedback
ywelsch 7d274bc
fix test
ywelsch 798a05e
Use translog.sync to advance persisted checkpoint
ywelsch 6c93e2d
Tanguy's feedback
ywelsch 34424cd
Merge remote-tracking branch 'elastic/master' into fsync-local-checkp…
ywelsch 94cd109
fix testTranslogReplayWithFailure
ywelsch df82d5c
can't bump on a conditional sync
ywelsch 6556795
Revert "can't bump on a conditional sync"
ywelsch 66bbe7d
Revert "Use translog.sync to advance persisted checkpoint"
ywelsch 6d96874
Revert "Nhat's feedback"
ywelsch fb233d3
separate processed from persisted
ywelsch 6bcca56
Merge remote-tracking branch 'elastic/master' into fsync-local-checkp…
ywelsch 5818b26
Nhat's feedback
ywelsch 3bb4963
Merge remote-tracking branch 'elastic/master' into fsync-local-checkp…
ywelsch 07303bb
Henning's comments
ywelsch f3b0166
Tanguy's comments
ywelsch 9d2c452
Increase initial capacity
ywelsch 810c986
checkstyle
ywelsch dc01e04
Merge remote-tracking branch 'elastic/master' into fsync-local-checkp…
ywelsch 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.
Uh oh!
There was an error while loading. Please reload this page.