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

Conflict between RTS and eviction regarding btree->rec_max_timestamp

    • Storage Engines
    • 5
    • StorEng - 2024-10-15
    • v8.0, v7.0

      During RTS, updates might be evicted which would update the btree->rec_max_timestamp field, see here. If this is set to a greater value than the stable checkpoint ts, the RTS checkpoint will mark the btree dirty.
      As soon as a btree is dirty, this can block operations such as dropping the dhandle. The btree needs to be marked as clean before its dhandle can be dropped. While this could be resolved with a checkpoint, there are cases in MongoDB where the checkpoint thread is stopped and the btree has to be dropped before the checkpoint thread is resumed.

            Assignee:
            etienne.petrel@mongodb.com Etienne Petrel
            Reporter:
            etienne.petrel@mongodb.com Etienne Petrel
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: