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

Install replset change listener after shard registry is initialized

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.1.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • ALL
    • 145

    Description

      We register the listener here but initializes the shard registry in the Grid here. This allows for a tiny window of race where the callback which try to access shard registry can be called before the shard registry is initialized

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: