Skip to content

Commit 4979063

Browse files
committed
kvsever: prevent lb split in TestStoreZoneUpdateAndRangeSplit
This test doesn't expect a load based split, especially not near the LHS of the range keyspace, prevent them. Fixes: #147153 Release note: None
1 parent ee29922 commit 4979063

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/kv/kvserver/client_split_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1515,6 +1515,7 @@ func TestStoreZoneUpdateAndRangeSplit(t *testing.T) {
15151515
tdb.Exec(t, `SET CLUSTER SETTING kv.closed_timestamp.target_duration = '20ms'`)
15161516
tdb.Exec(t, `SET CLUSTER SETTING kv.closed_timestamp.side_transport_interval = '20ms'`)
15171517
tdb.Exec(t, `SET CLUSTER SETTING kv.rangefeed.closed_timestamp_refresh_interval = '20ms'`)
1518+
tdb.Exec(t, `SET CLUSTER SETTING kv.range_split.by_load_enabled = false`)
15181519
tdb.Exec(t, "CREATE TABLE t ()")
15191520
var descID uint32
15201521
tdb.QueryRow(t, "SELECT 't'::regclass::int").Scan(&descID)

0 commit comments

Comments
 (0)