Skip to content

Commit

Permalink
kvnemesis: disable kv.transaction.dropping_latches_before_eval.enabled
Browse files Browse the repository at this point in the history
This works around #92189 while it's being fixed (and allows me to merge
the PR this commit is in, which otherwise fairly reliably fails
maye_stress in CI).

Release note: None
  • Loading branch information
tbg committed Dec 7, 2022
1 parent c4be077 commit b3550aa
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/kv/kvnemesis/kvnemesis_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,10 @@ func testKVNemesisImpl(t *testing.T, cfg kvnemesisTestCfg) {
sqlDBs[i] = tc.ServerConn(i)
}
sqlutils.MakeSQLRunner(sqlDBs[0]).Exec(t, `SET CLUSTER SETTING kv.rangefeed.enabled = true`)
// TODO(arul): remove this line when #92189 is addressed.
//
// See: https://github.com/cockroachdb/cockroach/issues/93164.
sqlutils.MakeSQLRunner(sqlDBs[0]).Exec(t, `SET CLUSTER SETTING kv.transaction.dropping_latches_before_eval.enabled = false`)
// Turn net/trace on, which results in real trace spans created throughout.
// This gives kvnemesis a chance to hit NPEs related to tracing.
sqlutils.MakeSQLRunner(sqlDBs[0]).Exec(t, `SET CLUSTER SETTING trace.debug.enable = true`)
Expand Down

0 comments on commit b3550aa

Please sign in to comment.