ReplicaSetMonitorManager calls
_taskExecutor->join()
while holding a mutex which is not a good idea as another thread can run the task on the _taskExecutor that will need to lock the same mutex that is held in the shutdown.
ReplicaSetMonitorManager calls
_taskExecutor->join()
while holding a mutex which is not a good idea as another thread can run the task on the _taskExecutor that will need to lock the same mutex that is held in the shutdown.