Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-5090

Log a message when rolling a thread back because it holds the oldest timestamp

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: WT3.2.2, 4.3.3, 4.2.3
    • Component/s: None
    • Labels:
    • Story Points:
      2
    • Sprint:
      Storage Engines 2019-12-30

      Description

      There is some code in WiredTiger that automatically rolls back the oldest transaction that's done any updates, if the cache gets stuck full:

      https://github.com/wiredtiger/wiredtiger/blob/develop/src/evict/evict_lru.c#L2306

      It is an unusual path, and logging something to the message event handler would make diagnosing such a failure mode easier. If logging a message in that case makes internal testing noisier we could consider adding a new verbose=rollback_messages or similar configuration string.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jie.chen Jie Chen (Inactive)
              Reporter:
              alexander.gorrod Alexander Gorrod
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: