Consolidate ensureFulfilledPromise helpers in resharding_data_replication.cpp

XMLWordPrintableJSON

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

      ReshardingDataReplication defines its own ensureFulfilledPromise(SharedPromise<void>&) and ensureFulfilledPromise(SharedPromise<void>&, Status) (no WithLock overload) here. These are functionally identical to two of the four helpers we added in resharding_promise_util.h as part of SERVER-125598. We should refactor and cleanup to remove the duplicates and use shared header.

            Assignee:
            Unassigned
            Reporter:
            Abdul Qadeer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: