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

addShard shard registry reload can cause mongos to terminate

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • 3.7.3
    • 3.6.6, 3.7.5
    • Sharding
    • None
    • Fully Compatible
    • ALL
    • v3.6
    • Sharding 2018-04-23
    • 37

    Description

      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.

      Attachments

        Activity

          People

            misha.tyulenev@mongodb.com Misha Tyulenev
            randolph@mongodb.com Randolph Tan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: