Remove blocking call to Fetcher::join from TenantMigrationDonorService

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 5.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • v5.0
    • Sharding 2021-07-12, Sharding 2021-07-26, Sharding 2021-08-09
    • 34
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      I was looking at the TenantMigrationDonorService for other reasons and I noticed that in one of the future continuations we use the blocking API of the Fetcher class to do networking. This could be a problem if running in a thread pool with a fixed number of threads.

      Fixing this depends on making a non-blocking version of the Fetcher API (SERVER-54206).

            Assignee:
            Jason Zhang (Inactive)
            Reporter:
            Matthew Saltz (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: