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

ShardingReplicaSetChangeListener::onConfirmedSet should not make blocking calls inside executor

    • Cluster Scalability
    • 3

      The issue is that the callback is running in the fixed executor and then also tries doing a blocking call inside the fixed executor here. So in an environment where number of worker threads <= number of shards, then the change callback for different replica sets happened roughly at the same time, all of them will be blocked waiting for a worker thread to be available (which are none, since all of them are waiting for the same thing)

            Assignee:
            backlog-server-cluster-scalability [DO NOT USE] Backlog - Cluster Scalability
            Reporter:
            randolph@mongodb.com Randolph Tan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: