[cleanup] Make tenant_migration_donor_util::checkIfCanReadOrBlock return a Future

XMLWordPrintableJSON

    • Fully Compatible
    • Sharding 2020-12-28, Sharding 2021-01-11, Sharding 2021-01-25
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Because of the changes in https://jira.mongodb.org/browse/PM-1704, it no longer makes sense for tenant_migration_donor_util::checkIfCanReadOrBlock to be a blocking function, since it's called in a future chain.

      It should be changed to instead return a Future, so that it doesn't block a thread in a thread pool.

              Assignee:
              Andrew Shuvalov (Inactive)
              Reporter:
              Esha Maharishi (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: