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

Allow pre-fetch to be enabled in validation

    • Type: Icon: New Feature New Feature
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Engines
    • Fully Compatible
    • 2024-03-05 - Claronald, 2024-03-19 - PacificOcean
    • 117
    • 3

      The scope of this ticket is only to allow pre-fetching to be enabled in validation, but avoid actually turning it on. 

      To do this, you would:

      • Add a new function on the RecoveryUnit, (something named along the lines of 'setPrefetching' with a bool 'enable' as input.)
      • Implement this function logic in WiredTigerRecoveryUnit to allow it to reconfigure the session to enable pre-fetch.
      • Add a new function to enable pre-fetching to  ValidateState and ensure it gets called before initializeCollection()/initializeCursors().
      • You will also need a destructor to disable pre-fetching in WiredTigerRecoveryUnit.

       

      For the scope of this ticket, leave pre-fetching turned off. Turning on pre-fetching for validate will work done in a separate ticket. 

            Assignee:
            clarisse.cheah@mongodb.com Clarisse Cheah
            Reporter:
            clarisse.cheah@mongodb.com Clarisse Cheah
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: