-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Fully Compatible
-
Sharding 2020-10-19, Sharding 2020-11-02
This is already fixed and it seems like finally passing all tests that I've run (though it's possible some new tests will fail).
The idea is that the StreamableReplicaSetMonitor is dangling unless explicitly terminated because the topology events publisher holds it as a shared_ptr, but is owned by the class itself.
Cleaning this is the prerequisite for fixing SERVER-50189 and SERVER-50467 to make the RSM to clean itself when there is a concurrent multitenant migration for the same recipient.
- is depended on by
-
SERVER-51440 Cleanup refcounting and lifetime of ReplicaSetMonitor
- Closed