In StreamableReplicaSetMonitor::onTopologyDescriptionChangedEvent, we take the RSM's mutex and continue to hold it when notifying the replica set change listener on confirmed set and possible set which updates the ShardRegistry. We should release the RSM's mutex when notifying the RSCL to avoid deadlock with another thread that attempts to access the RSM from the ShardRegistry, namely when another thread is reloading the ShardRegistry and attempts to drop the RSM in question.
- Votes:
-
0 Vote for this issue
- Watchers:
-
3 Start watching this issue
- Created:
- Updated:
- Resolved: