ExportXMLWordPrintableJSON

    • 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

            Assignee:
            Unassigned
            Reporter:
            Shoufu Du
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: