-
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
raftstore-v2: implement local read for raftstore-v2 #13375
Merged
Merged
Changes from all commits
Commits
Show all changes
48 commits
Select commit
Hold shift + click to select a range
2b16eef
ReadResponseTrait + LocalReaderTrait
SpadeA-Tang f326f8f
update
SpadeA-Tang faa5f05
remove trait and wrap LocalReader
SpadeA-Tang 43fcacd
before remove readRespnoseTrait
SpadeA-Tang 992a4d7
Remove ReadResponseTrait and cargo c pass
SpadeA-Tang c0d4c35
half way for v2's snapshot
SpadeA-Tang 8648b31
update snapshot in v2
SpadeA-Tang 16219d6
move router from LocalReaderCore to LocalReader
SpadeA-Tang f7f1cd8
clippy
SpadeA-Tang 86af68b
format
SpadeA-Tang 1fd8ac6
update
SpadeA-Tang c2df8d2
update
SpadeA-Tang c3db075
snapshot update
SpadeA-Tang bde4e3d
add test(partial)
SpadeA-Tang 9d6a39f
refine test
SpadeA-Tang 6f73441
update
SpadeA-Tang 611748f
remove unused code
SpadeA-Tang 7db5a4c
modify test
SpadeA-Tang b28b39a
resolve merge
SpadeA-Tang f88011d
update
SpadeA-Tang e792726
format
SpadeA-Tang ff15c7f
address comment
SpadeA-Tang 4888e96
change the way to renew lease in advance
SpadeA-Tang 1500953
remove unused code
SpadeA-Tang 074b61c
address comment
SpadeA-Tang 5e9f7cb
update
SpadeA-Tang cb08e71
replace generic type of ReadExecutor by associated type
SpadeA-Tang 75a4061
resolve merge
SpadeA-Tang 8862e7c
update
SpadeA-Tang d0d97ab
impl ServerRaftStoreRouter for v2
SpadeA-Tang 32b525c
remove some generic types in LocalReader
SpadeA-Tang abbc7cf
add end to end test, and the some code in Cluster
SpadeA-Tang b6aa69e
merge conflict
SpadeA-Tang 69952e6
address comment
SpadeA-Tang a8ffb1b
resolve deadlock
SpadeA-Tang 34176cb
remove unused import
SpadeA-Tang 2b24fa1
add error processing for renew lease
SpadeA-Tang d7ff6d9
address comment
SpadeA-Tang 446f70d
update
SpadeA-Tang 6fa2ea2
remove RefCell
SpadeA-Tang c6e979b
address comment
SpadeA-Tang 57a3ecd
update
SpadeA-Tang 62edf8f
merge conflict
SpadeA-Tang b5f7e88
get snap race condition
SpadeA-Tang 521f976
merge conflict
SpadeA-Tang 26bc405
update
SpadeA-Tang 0ee256b
update
SpadeA-Tang 5019283
Merge branch 'master' into localreader
ti-chi-bot File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,6 @@ use raftstore::{ | |
}, | ||
Result, | ||
}; | ||
use tikv_util::Either; | ||
|
||
use crate::{ | ||
batch::StoreContext, | ||
|
3 changes: 0 additions & 3 deletions
3
components/raftstore-v2/src/operation/command/write/simple_write.rs
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.
If it could be used by other mods, using
pub
would be better.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's supposed not to be used by other module.
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.
In v1's code, it's called in components/server as well.