cache_max_wait_ms=1 does not ignore cache usage

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Critical - P2
    • 9.1.0-rc0, 9.1.0-rc1022
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Engines - Server Integration
    • Fully Compatible
    • ALL
    • SESIBananaBalsara 2026-09-08
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      WT-18006 removed the magic number on cache_max_wait_ms=1 that allows the operation to proceed regardless of current cache usage. It now exposes the ignore_cache_size option to achieve this instead.

      Server uses the code

      void optOutOfCacheEviction() override {
              // 1 is a magic number in WiredTiger that opts this thread out of all optional eviction.
              setCacheMaxWaitTimeout(Milliseconds(1));
          }
      

      This would no longer work as intended and should be changed to use the new ignore_cache_size instead of setting a 1 ms wait time.

            Assignee:
            Nic Hollingum
            Reporter:
            Alana Huang
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: