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

addShard shard registry reload can cause mongos to terminate

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 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

      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@mongodb.com Misha Tyulenev (Inactive)
            Reporter:
            randolph@mongodb.com Randolph Tan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: