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

Remove read_before_oldest functionality from WiredTiger

    • Type: Icon: Technical Debt Technical Debt
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • WT11.0.0, 6.0.0-rc0
    • Affects Version/s: None
    • Component/s: None

      The MongoDB server uses the WT_SESSION.begin_transaction::read_before_oldest flag to reset the transaction's snapshot, functionality which is more appropriately achieved using the WT_SESSION.reset_snapshot method.

      The read_before_oldest functionality is not something we want to maintain, it's dangerous and prone to race conditions. Once the SERVER-62350 ticket is resolved, we should consider if/when we can remove read_before_oldest entirely.

            Assignee:
            keith.bostic@mongodb.com Keith Bostic (Inactive)
            Reporter:
            keith.bostic@mongodb.com Keith Bostic (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: