addShard shard registry reload can cause mongos to terminate

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 3.6.6, 3.7.5
    • Affects Version/s: 3.7.3
    • Component/s: Sharding
    • None
    • Fully Compatible
    • ALL
    • v3.6
    • Sharding 2018-04-23
    • 37
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      ShardRegistry::reload is called inside ON_BLOCK_EXIT in the addShard command. The reload method can throw and when it does, it will terminate the server because ON_BLOCK_EXIT has throw() and calls safeExecute.

            Assignee:
            Misha Tyulenev (Inactive)
            Reporter:
            Randolph Tan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: