When we save and restore cursors during collection validation, we close the cursors and recreate them. This is a problem because closing the cursor clears the memory to which the Record from the last next() call on the cursor points.
We do not need to worry about cache pressure from holding onto a snapshot too long for background validation because we read from a checkpoint. Therefore, there is no need to follow the usual cursor yield policy for regular queries.
- is depended on by
-
SERVER-42358 Add background collection validation to test suites
- Closed