[SERVER-42226] Use the maxValidateMBperSec server parameter to throttle collection validation operations Created: 12/Jul/19 Updated: 29/Oct/23 Resolved: 23/Aug/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Storage |
| Affects Version/s: | None |
| Fix Version/s: | 4.3.1 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Dianna Hohensee (Inactive) | Assignee: | Gregory Wlodarek |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||
| Sprint: | Execution Team 2019-08-26 | ||||||||||||||||
| Participants: | |||||||||||||||||
| Linked BF Score: | 0 | ||||||||||||||||
| Description |
|
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. |
| Comments |
| Comment by Gregory Wlodarek [ 23/Aug/19 ] |
|
After discussing the unit test flakiness on Windows machines regarding timing with milkie, we're going to disable the throttle cursor unit test temporarily and file a ticket to fix the issues and to turn it back on. |
| Comment by Githook User [ 23/Aug/19 ] |
|
Author: {'name': 'Gregory Wlodarek', 'email': 'gregory.wlodarek@mongodb.com', 'username': 'GWlodarek'}Message: |
| Comment by Githook User [ 23/Aug/19 ] |
|
Author: {'name': 'Gregory Wlodarek', 'email': 'gregory.wlodarek@mongodb.com', 'username': 'GWlodarek'}Message: |
| Comment by Githook User [ 23/Aug/19 ] |
|
Author: {'username': 'GWlodarek', 'email': 'gregory.wlodarek@mongodb.com', 'name': 'Gregory Wlodarek'}Message: |
| Comment by Githook User [ 23/Aug/19 ] |
|
Author: {'username': 'GWlodarek', 'email': 'gregory.wlodarek@mongodb.com', 'name': 'Gregory Wlodarek'}Message: Additionally, cursor wrappers for the validate command have been implemented to use the data throttle mechanism. |