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

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

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

      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@mongodb.com Jie Chen
            Reporter:
            alexander.gorrod@mongodb.com Alexander Gorrod
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: