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

[cleanup] Make tenant_migration_donor_util::checkIfCanReadOrBlock return a Future

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

      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@mongodb.com Andrew Shuvalov (Inactive)
            Reporter:
            esha.maharishi@mongodb.com Esha Maharishi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: