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

Avoid thread scheduling deadlock in create collection coordinator

    • Fully Compatible
    • ALL
    • Hide

      Increase the number of concurrent threads in drop_collection_sharded.js FSM workload in such a way to ensure that there will be at least 6 concurrent create collection coordinators running at the same time.

      Show
      Increase the number of concurrent threads in drop_collection_sharded.js FSM workload in such a way to ensure that there will be at least 6 concurrent create collection coordinators running at the same time.
    • Sharding EMEA 2021-05-03

      The create collection coordinator is executed on the ShardingDDLCoordinator service thread pool that is capped to max 6 concurrent threads.

      The problem is that this coordinator schedule a task on this threadpool and wait synchronously for its completion without releasing its current thread. If the threadpool doesn't have any available thread to execute the task the coordinator will hang forever.

            Assignee:
            tommaso.tocci@mongodb.com Tommaso Tocci
            Reporter:
            tommaso.tocci@mongodb.com Tommaso Tocci
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: