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

Remove blocking call to Fetcher::join from TenantMigrationDonorService

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.1.0
    • Component/s: None
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Backport Requested:
      v5.0
    • Sprint:
      Sharding 2021-07-12, Sharding 2021-07-26, Sharding 2021-08-09
    • Linked BF Score:
      34

      Description

      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).

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jason.zhang Jason Zhang
              Reporter:
              matthew.saltz Matthew Saltz
              Participants:
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: