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

TenantMigrationDonorService::getDurableState should return a future

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 5.2.0-rc0
    • None
    • None
    • Fully Compatible
    • Server Serverless 2021-11-15, Server Serverless 2021-11-29

    Description

      This method has a side-effect of waiting for the fulfillment of a promise indicating the state document has been inserted and majority-committed. This pollutes the TMDS API by requiring an opCtx be passed in rather than letting the caller decide where to block on the future. We should consider returning a Future<DurableState> instead.

      Attachments

        Issue Links

          Activity

            People

              didier.nadeau@mongodb.com Didier Nadeau
              matt.broadstone@mongodb.com Matt Broadstone
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: