mirror of https://github.com/tikv/client-go.git
tikv: increase batch split region limit (#254)
Signed-off-by: nolouch <nolouch@gmail.com>
This commit is contained in:
parent
7329876df3
commit
1279692fc2
|
|
@ -57,7 +57,7 @@ import (
|
||||||
"go.uber.org/zap"
|
"go.uber.org/zap"
|
||||||
)
|
)
|
||||||
|
|
||||||
const splitBatchRegionLimit = 16
|
const splitBatchRegionLimit = 2048
|
||||||
|
|
||||||
func equalRegionStartKey(key, regionStartKey []byte) bool {
|
func equalRegionStartKey(key, regionStartKey []byte) bool {
|
||||||
return bytes.Equal(key, regionStartKey)
|
return bytes.Equal(key, regionStartKey)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue