ShardingReplicaSetChangeListener::onConfirmedSet should not make blocking calls inside executor

XMLWordPrintableJSON

    • Cluster Scalability
    • 3
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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:
              [DO NOT USE] Backlog - Cluster Scalability
              Reporter:
              Randolph Tan
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: