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

Foreground collection validation cmd should periodically yield cursors to release snapshots and minimize cache pressure

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.3.1
    • Affects Version/s: None
    • Component/s: Storage
    • Labels:
      None
    • Fully Compatible
    • Execution Team 2019-10-21

      In v4.2 we created cursors as needed, so we would create a cursor to scan an entire index or collection table.

      In v4.4, we now create all cursors up front and reuse them errors are found to run the second phase (same as the first phase except saving more information). So rather than holding a snapshot for the duration of a single table scan, we could end up holding a snapshot open for 3x (say one collection scan and two index scans), or 6x (if the corruption was found and the second phase runs all the validation again).

            Assignee:
            gregory.wlodarek@mongodb.com Gregory Wlodarek
            Reporter:
            dianna.hohensee@mongodb.com Dianna Hohensee (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: