-
Type:
Task
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: Testing Infrastructure
-
None
-
Storage Engines - Transactions
-
Fully Compatible
-
v9.0, v8.3
-
SE Transactions - 2026-12-04
-
200
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Background
jstests/noPassthrough/txns_cache_errors/transaction_aborted_under_cache_pressure.js depends on real WiredTiger eviction timing to reach isUnderCachePressure(). It has been patched three times (SERVER-132736, SERVER-135094, SERVER-136123), each after a WiredTiger eviction change, and it keeps failing with "Expected TemporarilyUnavailable error but none occurred". Further eviction improvements are expected, so each one is likely to make the test flaky again.
Proposal
Disable the test on all branches (master, v9.0 and v8.3) by tagging it with _TEMPORARILY_DISABLED_, which resmoke excludes implicitly in every suite. The requires_fcv_83 tag does not disable the test on these branches, because their FCV is at least 8.3. The tag carries a TODO referencing SERVER-139429.
SERVER-139429 decides the test's future: either rewrite it to be deterministic with failpoints, or, if the evaluation finds that it adds no coverage value over existing tests, delete it permanently. The test is re-enabled only if the rewrite is chosen.
Backports
The disable change is backported to v9.0 and v8.3 through BACKPORT tickets after the master change is merged.
The earlier backports that keep this test passing on the release branches (BACKPORT-30816, BACKPORT-30977, BACKPORT-30978) become unnecessary once the test is disabled on those branches, and may be cancelled.
Out of scope
This ticket does not fix the data race on gCachePressureAbortSessionKillLimitPerBatch, which is a non-atomic int read by PeriodicThreadToRollbackUnderCachePressure. SERVER-139146 only avoided it in the test by setting the parameter at startup. Disabling the test hides the race from CI but does not remove it.
Acceptance criteria
- The test file carries the _TEMPORARILY_DISABLED_ tag and a "TODO(SERVER-139429)" comment on master, v9.0 and v8.3.
- The test no longer runs in any suite on those branches.
Related
SERVER-139429, SERVER-139146, SERVER-132736, SERVER-135094, SERVER-136123, BF-46462, BACKPORT-30816, BACKPORT-30977, BACKPORT-30978
- is related to
-
SERVER-132736 transaction_aborted_under_cache_pressure.js leaks sessions at teardown and the cache-pressure detector rarely fires under WT-18120's improved eviction
-
- Closed
-
-
SERVER-135094 transaction_aborted_under_cache_pressure.js flakes on master because WT-18210 shrinks the drain-loop cache-pressure window
-
- Closed
-
-
SERVER-139146 transaction_aborted_under_cache_pressure.js sets CachePressureAbortSessionKillLimitPerBatch at runtime, triggering a ThreadSanitizer data race
-
- Closed
-
-
SERVER-136123 transaction_aborted_under_cache_pressure.js still flakes after SERVER-135094 fix: assertion misses NoSuchTransaction outcome
-
- Closed
-
- related to
-
SERVER-139429 Make transaction_aborted_under_cache_pressure.js deterministic with failpoints instead of relying on real cache pressure
-
- Open
-