Don't wait for ReshardingCoordinator::_fetchAndPersistNumDocumentsToCloneFromDonors to finish if cloning is done.

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Cluster Scalability
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      We currently wait for _fetchAndPersistNumDocumentsToCloneFromDonors before waiting cloning phase to finish. We should instead launch _fetchAndPersistNumDocumentsToCloneFromDonors asynchronously, wait for recipients to finish cloning and check back if _fetchAndPersistNumDocumentsToCloneFromDonors is done and start the timeout timer (maybe a minute?) before giving up.

            Assignee:
            Unassigned
            Reporter:
            Randolph Tan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated: