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

Config primary may hang in shutdown waiting for Balancer

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 3.4.5, 3.5.7
    • None
    • Sharding
    • None
    • Fully Compatible
    • ALL
    • v3.4
    • Sharding 2017-05-08
    • 0

    Description

      This issue may happen if the
      1) config shard is being shut down - the secondaries are successfully shut down, the primary Balancer is in the main loop and waits for ShardRegistry::reload

      2) ShardRegistry::reload is already dispatched to the internalReload

      3) As its a config shard the reload is using LocalShard to do exhaustiveFindOnConfig

      4) the exhaustiveFindOnConfig calls for the ReplicationCoordinator::waitUntilOpTimeForRead

      5) the last call never returns as the secondaries have stepped down already

      Attachments

        Activity

          People

            misha.tyulenev@mongodb.com Misha Tyulenev
            misha.tyulenev@mongodb.com Misha Tyulenev
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: