Remove condition variable in ReshardingCloneFetcher

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None
    • Cluster Scalability
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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:
            [DO NOT USE] Backlog - Cluster Scalability
            Reporter:
            Jiawei Yang
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: