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

addShard shard registry reload can cause mongos to terminate

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 3.7.3
    • Fix Version/s: 3.6.6, 3.7.5
    • Component/s: Sharding
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v3.6
    • Sprint:
      Sharding 2018-04-23
    • Linked BF Score:
      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

            Assignee:
            misha.tyulenev Misha Tyulenev
            Reporter:
            renctan Randolph Tan
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: