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

The `forceRoutingTableRefresh` command waits for migration critical section while holding a lock

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.6.0-rc5, 3.7.1
    • Affects Version/s: 3.6.0-rc4
    • Component/s: Sharding
    • None
    • Fully Compatible
    • ALL
    • v3.6
    • Sharding 2017-12-04
    • 0

      The code under forceRoutingTableRefresh is waiting for the migration critical section while holding a lock. While waiting for condition variable while holding a lock is in most cases illegal, this particular case is also a guaranteed deadlock since the move chunk sequence won't be able to ever leave the migration critical section.

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

              Created:
              Updated:
              Resolved: