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

Use the maxValidateMBperSec server parameter to throttle collection validation operations

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

      SERVER-42224 will have added maxValidateMBperSec as a server parameter and set it up as accessible to the validation command code path.

      This task is to actually start using maxValidateMBperSec to throttle the progress of a collection validation operation. Throttling should only occur when {background:true} is requested. We should put the thread to sleep after it processes maxValidateMBperSec MBs worth of data, if it take less than a second to reach maxValidateMBperSec MBs. We should check for interrupt after sleeping.

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

              Created:
              Updated:
              Resolved: