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

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • WT10.0.0, 4.3.3, 4.2.3
    • None
    • 2
    • 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

              jie.chen@mongodb.com Jie Chen
              alexander.gorrod@mongodb.com Alexander Gorrod
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: