Skip to content

Commit

Permalink
Merge #102915
Browse files Browse the repository at this point in the history
102915: roachtest: increase kv/restart/nodes=12 logging verbosity r=andrewbaptist a=kvoli

The `kv/restart/nodes=12` relies on correct allocation decisions to pass. This commit increases the logging verbosity of related components so that if/when the test fails, a root cause is easier to establish.

Informs: #102655

Epic: none

Release note: None

Co-authored-by: Austen McClernon <[email protected]>
  • Loading branch information
craig[bot] and kvoli committed May 10, 2023
2 parents b87c8e8 + 13dbed1 commit 9af73d5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pkg/cmd/roachtest/tests/kv.go
Original file line number Diff line number Diff line change
Expand Up @@ -961,7 +961,10 @@ func registerKVRestartImpact(r registry.Registry) {
nodes := c.Spec().NodeCount - 1
workloadNode := c.Spec().NodeCount
c.Put(ctx, t.Cockroach(), "./cockroach", c.All())
c.Start(ctx, t.L(), option.DefaultStartOpts(), install.MakeClusterSettings(), c.Range(1, nodes))
startOpts := option.DefaultStartOpts()
startOpts.RoachprodOpts.ExtraArgs = append(startOpts.RoachprodOpts.ExtraArgs,
"--vmodule=store_rebalancer=5,allocator=5,allocator_scorer=5,replicate_queue=5")
c.Start(ctx, t.L(), startOpts, install.MakeClusterSettings(), c.Range(1, nodes))

// The duration of the outage.
duration, err := time.ParseDuration(ifLocal(c, "20s", "10m"))
Expand Down

0 comments on commit 9af73d5

Please sign in to comment.