Consider enabling ShardingTaskExecutorPoolMaxQueueDepth

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Networking & Observability
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      ShardingTaskExecutorPoolMaxQueueDepth was added in SERVER-91479 in order to limit how much work can build up on mongos under overload, but we didn't end up enabling it due to uncertainty about what the best value is. However, setting it to 1000 on the find_max_time_ms workload resolves the unavailability faced in the workload (before/after attached in comments).
      We should figure out what the best value for this queue size is and then set this parameter, as bounded queues are key for the mongos availability story.

        1. Screenshot 2026-02-13 at 10.04.15 AM.png
          306 kB
          Erin McNulty
        2. Screenshot 2026-02-13 at 10.50.45 AM.png
          183 kB
          Erin McNulty

            Assignee:
            Unassigned
            Reporter:
            Erin McNulty
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: