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 1
1
[coprocessor ]
2
- region-max-keys = 5
3
- region-split-keys = 3
2
+ region-max-keys = 10
3
+ region-split-keys = 7
4
4
batch-split-limit = 100
5
5
6
6
[raftstore ]
Original file line number Diff line number Diff line change @@ -19,10 +19,3 @@ pub async fn get_region_count() -> Result<u64> {
19
19
. as_u64 ( )
20
20
. ok_or_else ( || Error :: StringError ( "pd region count does not return an integer" . to_owned ( ) ) )
21
21
}
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<()> {
42
42
. take ( count as usize - 1 )
43
43
. map ( |x| x. to_be_bytes ( ) . to_vec ( ) ) ;
44
44
45
- ensure_region_split ( keys_1. chain ( keys_2) , 100 ) . await ?;
45
+ ensure_region_split ( keys_1. chain ( keys_2) , 80 ) . await ?;
46
46
}
47
47
48
48
clear_tikv ( ) . await ;
You can’t perform that action at this time.
0 commit comments