File tree Expand file tree Collapse file tree 3 files changed +3
-10
lines changed Expand file tree Collapse file tree 3 files changed +3
-10
lines changed Original file line number Diff line number Diff line change 11[coprocessor ]
2- region-max-keys = 5
3- region-split-keys = 3
2+ region-max-keys = 10
3+ region-split-keys = 7
44batch-split-limit = 100
55
66[raftstore ]
Original file line number Diff line number Diff line change @@ -19,10 +19,3 @@ pub async fn get_region_count() -> Result<u64> {
1919 . as_u64 ( )
2020 . ok_or_else ( || Error :: StringError ( "pd region count does not return an integer" . to_owned ( ) ) )
2121}
22-
23- #[ tokio:: test]
24- #[ ignore]
25- async fn test_get_region_count ( ) -> Result < ( ) > {
26- println ! ( "{}" , get_region_count( ) . await ?) ;
27- Ok ( ( ) )
28- }
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ pub async fn init() -> Result<()> {
4242 . take ( count as usize - 1 )
4343 . map ( |x| x. to_be_bytes ( ) . to_vec ( ) ) ;
4444
45- ensure_region_split ( keys_1. chain ( keys_2) , 100 ) . await ?;
45+ ensure_region_split ( keys_1. chain ( keys_2) , 80 ) . await ?;
4646 }
4747
4848 clear_tikv ( ) . await ;
You can’t perform that action at this time.
0 commit comments