Some of the sharding unit-tests (e.g., NoErrors) expect a different behavior fromĀ appendRequiredFieldsToResponse than what the normal execution requires. These tests never initialize LogicalTimeValidator, and expect appendRequiredFieldsToResponse to quick-return.
To fill this gap, SERVER-48013 introduced a fail-point to quick-return from these unit-tests. This fail-point enables successful execution of these unit-tests, but makes such tests observe a non-real behavior for appendRequiredFieldsToResponse.
This ticket should make appropriate changes to these unit-tests to obviate the fail-point, and then remove it.
- has to be done after
-
SERVER-48013 Use atomics to reduce contention in hasSeenKeys()
- Closed