Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-81082

Remove condition variable in ReshardingCloneFetcher

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Minor - P4 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. 

            Assignee:
            backlog-server-cluster-scalability [DO NOT USE] Backlog - Cluster Scalability
            Reporter:
            jiawei.yang@mongodb.com Jiawei Yang
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: