Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-62350

replace usage of read_before_oldest with reset_snapshot

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.3.0
    • Affects Version/s: None
    • Component/s: Storage
    • None
    • Fully Compatible
    • Execution Team 2022-02-07, Execution Team 2022-02-21

      WiredTigerRecoveryUnit::refreshSnapshot() was originally written prior to the existence of WiredTiger reset_snapshot() functionality. We can now rewrite refreshSnapshot() to utilize reset_snapshot(). This also has the added benefit of removing usage of the read_before_oldest configuration parameter to begin_transaction; there is a desire to remove this API from future WT versions. Thus, the work for this ticket should include removing the read_before_oldest usage from wiredtiger_begin_transaction_block.cpp.

            Assignee:
            jordi.olivares-provencio@mongodb.com Jordi Olivares Provencio
            Reporter:
            milkie@mongodb.com Eric Milkie
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: