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

Make new replication code resilient to members being removed from the replset config

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 2.7.8
    • None
    • Replication
    • None
    • Fully Compatible
    • ALL

    Description

      Currently the _slaveInfoMap in ReplicationCoordinatorImpl is never cleared out, which can cause an fassert in prepareReplSetUpdatePositionCommand

      {handshakes}

      if a node in the map can't be found in the config.

      Simplest way to deal with this seems to be to remove entries from the map on reconfig if the memberID can no longer be found in the new config

      Attachments

        Activity

          People

            spencer@mongodb.com Spencer Brody (Inactive)
            spencer@mongodb.com Spencer Brody (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: