-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
*: remove RAFT CF #4372
Closed
Closed
*: remove RAFT CF #4372
Changes from 1 commit
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
c7ea3df
store: upgrade data from v2 to v3
overvenus e79b3f3
raftstore/store: change bootstrap procedure
overvenus ce988a7
raftstore: partial change snapshot procedure
overvenus 6c0d46d
server/debug: update raft and kv engine usage for debugger
overvenus d6e6ce8
raftstore: update raft and kv usage for consisitency check
overvenus ffcfac1
raftstrore: update raft and kv engine usage for apply
overvenus a9f17c8
*: remove remaining RAFT cf usage
overvenus 2c7a4cc
*: deprecate RAFT cf config
overvenus 450b217
*: add tests for upgrading
overvenus 5537b87
*: add tests for bootstrapping
overvenus d2d6535
raftstore/store: take snapshots in apply worker
overvenus ef5c50c
Address lint
overvenus d5edb4b
Address lints and skip upgrade if it's a new node
overvenus c9de4c1
Address lints and update tests
overvenus 45c1885
util: change crit to error
overvenus 7319400
Merge branch 'master' into remove/raftcf
overvenus 86559c9
Revert "util: change crit to error"
overvenus 31ccd9d
Address fmt lints
overvenus 6e5997d
apply: always sync wirte kv engine before updating raft apply state
overvenus 971145d
apply: clear raft wb if there is no sync cmd
overvenus d0a6597
Merge commit '5a3ced50e' into remove/raftcf
overvenus c6d08ec
Merge branch 'master' into remove/raftcf
overvenus 39789d9
tests: stable test_node_lease_unsafe_during_leader_transfers
overvenus 202fe7e
Merge branch 'master' into remove/raftcf
overvenus 0028f2e
Address comments
overvenus 7bbe7c4
Merge branch 'master' into remove/raftcf
overvenus 4992b1e
Address comments
overvenus edc2807
raftstore: ensure no pending snapshot requests before applying snapshots
overvenus 9c8db23
Merge branch 'master' into remove/raftcf
overvenus 6a21fbc
apply: gc raft write batch
overvenus b61f9b7
fix typo
overvenus 9313942
Merge branch 'master' into remove/raftcf
overvenus 836cca4
Merge branch 'master' into remove/raftcf
overvenus ab715ce
Merge branch 'master' into remove/raftcf
overvenus 4d4d5d7
tests: cover update apply state unexpectedly
overvenus 67e84b6
Merge branch 'master' into remove/raftcf
overvenus f835b8b
Merge branch 'master' into remove/raftcf
overvenus 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
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'm curious about that when the
sync_log_hint
is true, but we lost some apply states for some regions. If some of these regions are unlucky and always lost apply states, what will happen?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.
It restarts apply from the latest saved applied index, since all commands are idempotent, it will be consistent with other peers eventually.