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: Implement coprocessor observer pre_persist #12957
Changes from 13 commits
4871637
cf07469
1059dee
837cd79
1bd63fe
1386d5a
2b235c5
fd388ed
13f7a4f
27511f6
05f8085
0593981
df91d39
2da4632
e8a824b
b57d9e8
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -269,6 +269,7 @@ impl Simulator for NodeCluster { | |
.max_total_size(cfg.server.snap_max_total_size.0) | ||
.encryption_key_manager(key_manager) | ||
.max_per_file_size(cfg.raft_store.max_snapshot_file_raw_size.0) | ||
.enable_multi_snapshot_files(true) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why the change? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Because I find test cases like |
||
.build(tmp.path().to_str().unwrap()); | ||
(snap_mgr, Some(tmp)) | ||
} else { | ||
|
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.
Better give it a better name without leaking the implementation details. It will be changed in v2.