From 023cbdde5420043bc5233b9ff5c9c51e1a9aead5 Mon Sep 17 00:00:00 2001 From: ShuNing Date: Mon, 10 May 2021 21:57:21 +0800 Subject: [PATCH] store/tikv: increase batch split region limit (#24508) Signed-off-by: nolouch --- store/tikv/split_region.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/store/tikv/split_region.go b/store/tikv/split_region.go index a9ce30affd95a..6a22945603032 100644 --- a/store/tikv/split_region.go +++ b/store/tikv/split_region.go @@ -33,7 +33,7 @@ import ( "go.uber.org/zap" ) -const splitBatchRegionLimit = 16 +const splitBatchRegionLimit = 2048 func equalRegionStartKey(key, regionStartKey []byte) bool { return bytes.Equal(key, regionStartKey)