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

Make the sharding fixed task executor use unlimited thread pool size

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.1.7
    • Affects Version/s: None
    • Component/s: Sharding
    • Labels:
      None
    • Fully Compatible
    • Sharding 2019-01-28

      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.

            Assignee:
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Reporter:
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: