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

Config primary may hang in shutdown waiting for Balancer

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.4.5, 3.5.7
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Fully Compatible
    • ALL
    • v3.4
    • Sharding 2017-05-08
    • 0

      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

            Assignee:
            misha.tyulenev@mongodb.com Misha Tyulenev (Inactive)
            Reporter:
            misha.tyulenev@mongodb.com Misha Tyulenev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: