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

Config primary may hang in shutdown waiting for Balancer

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.4.5, 3.5.7
    • Component/s: Sharding
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v3.4
    • Sprint:
      Sharding 2017-05-08
    • Linked BF Score:
      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

            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: