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

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • WT10.0.0, 4.3.3, 4.2.3
    • Affects Version/s: None
    • Component/s: None
    • Storage Engines 2019-12-30
    • 2

      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.

            Assignee:
            Jie Chen
            Reporter:
            Alexander Gorrod
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: