Skip to content

Commit

Permalink
acceptanceccl: disable stats-based rebalancing during tests
Browse files Browse the repository at this point in the history
Stats-based rebalancing interacts badly with restore at the moment, so
disable it for now. Tracked in cockroachdb#17671.
  • Loading branch information
benesch committed Aug 21, 2017
1 parent d6132b3 commit d752c39
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkg/ccl/acceptanceccl/backup_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,11 @@ func (bt *benchmarkTest) Start(ctx context.Context) {
// liveness failures. This limit was determined experimentally on
// Standard_D3_v2 instances.
sqlDB.Exec(`SET CLUSTER SETTING kv.bulk_io_write.max_rate = '30MB'`)
// Stats-based rebalancing interacts badly with restore's splits and scatters.
//
// TODO(benesch): Remove this setting when #17671 is fixed, or document the
// necessity of this setting as 1.1 known limitation.
sqlDB.Exec(`SET CLUSTER SETTING kv.allocator.stat_based_rebalancing.enabled = false`)

log.Info(ctx, "initial cluster is up")
}
Expand Down

0 comments on commit d752c39

Please sign in to comment.