Skip to content

Conversation

@miraradeva
Copy link
Contributor

@miraradeva miraradeva commented Jan 12, 2026

Backport 1/1 commits from #160647.

/cc @cockroachdb/release


Currently, there is a single kvnemesis operation that executes via SQL: ToggleGlobalReads. We have seen this operation get stuck and cause the test to timeout under safety more. The expected behavior is that any stuck operations would time out, but it seems like there is a context cancelation propagation issue, most likely in lib/pq, but not confirmed.

This commit disables ToggleGlobalReads in safety mode to reduce test failures. This change would also help confirm that this is the only operation susceptible to the hanging behavior.

Fixes: #160293

Release note: None


Release justification: Testing only.

Currently, there is a single kvnemesis operation that executes via SQL:
`ToggleGlobalReads`. We have seen this operation get stuck and cause
the test to timeout under safety more. The expected behavior is that
any stuck operations would time out, but it seems like there is a
context cancelation propagation issue, most likely in lib/pq, but not
confirmed.

This commit disables `ToggleGlobalReads` in safety mode to reduce test
failures. This change would also help confirm that this is the only
operation susceptible to the hanging behavior.

Fixes: cockroachdb#160293

Release note: None
@miraradeva miraradeva requested a review from a team as a code owner January 12, 2026 14:13
@blathers-crl
Copy link

blathers-crl bot commented Jan 12, 2026

Thanks for opening a backport.

Before merging, please confirm that the change does not break backwards compatibility and otherwise complies with the backport policy. Include a brief release justification in the PR description explaining why the backport is appropriate. All backports must be reviewed by the TL for the owning area. While the stricter LTS policy does not yet apply, please exercise judgment and consider gating non-critical changes behind a disabled-by-default feature flag when appropriate.

@blathers-crl blathers-crl bot added backport Label PR's that are backports to older release branches T-kv KV Team labels Jan 12, 2026
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@blathers-crl blathers-crl bot added the backport-test-only Used to denote the backport has only non-production changes label Jan 12, 2026
@miraradeva miraradeva merged commit a9c42c3 into cockroachdb:release-26.1 Jan 12, 2026
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport Label PR's that are backports to older release branches backport-test-only Used to denote the backport has only non-production changes T-kv KV Team v26.1.0-prerelease

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants