Use the maxValidateMBperSec server parameter to throttle collection validation operations

XMLWordPrintableJSON

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

      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
              Reporter:
              Dianna Hohensee (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: