-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Fully Compatible
-
v5.2, v5.0, v4.4
-
Sharding 2021-12-13, Sharding 2021-12-27
-
2
TheĀ SERVER-59366 provides basic unit tests, we need integration test with fail injection that makes a health check to be stuck triggering crash in the mongos. We can define a failpoint to stop the HealthObservers from executing checks such that the statistics used by the progress monitor are not updated.
Setup:
- 2 mongos servers
- Workload that performs write operations in a loop
Test:
- Start workload.
- Wait a bit
- Enable the failpoint on one of the mongos processes
- Let FaultManagerConfig::getPeriodicLivenessDeadline elapse while the workload is running
- Observe that operations are redirected to the other mongos
- Observe that writes are accounted for before and after we enabled the failpoint
- has to be done after
-
SERVER-59394 Setup integration test simulating ldap failure scenario
- Closed
- is related to
-
SERVER-61873 LDAP health observer runtime params
- Closed