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

Make the sharding fixed task executor use unlimited thread pool size

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.1.7
    • Component/s: Sharding
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Sprint:
      Sharding 2019-01-28

      Description

      Currently, the fixed sharding task executor is built on top of NetworkInterfaceThreadPool, which only uses a single ASIO thread or the caller's thread. This makes it unsuitable for scheduling more than one operation on it or for scheduling anything blocking.

      We should bump the size of this pool to infinite and make it use a regular ThreadPool.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: