Fix transaltion of eviction state in t2

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Cache and Eviction
    • None
    • Storage Engines - Transactions
    • 1,466.896
    • SE Transactions - 2026-06-05
    • None

      t2 includes several derived metrics that parse WT's eviction state into separate statistics for each type of eviction. The code for this translation is conditional on the mongodb version since the values stored in the eviction state changed about v6.3.

      In the FTDC snippet below, it appears that t2 is using the FCV version, rather than the actual software version for this translation. The system is running MongoDB 7.0.22, but is on FCV 6. The eviction state is 101, indicating that bits, 64, 32, 4, and 1 are set. The "wt cache evict dirty" and "wt cache evict updates" stats should be set (0x40 and 0x20 using the mappings for 7.x). But they aren't.

            Assignee:
            Haribabu Kommi
            Reporter:
            Keith Smith
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: