-
Type: Improvement
-
Resolution: Unresolved
-
Priority: Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: None
-
Cluster Scalability
In SERVER-80482, we added a condition variable to make sure the ReshardingCloneFetcher's destructor exit after all reader/writer threads exit. The condition variable should not be necessary but it turns out if we don't cancel the token in destructor, some threads won't quit. If we can figure out the reason behind that, we should be able to get rid of the condition variable.