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

replSetMaintenance command does not take the RSTL

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • 4.4.2
    • 4.2.18, 5.0.3, 4.4.9, 5.1.0-rc0
    • None
    • None
    • Fully Compatible
    • ALL
    • v5.0, v4.4, v4.2, v4.0
    • Repl 2021-06-14, Repl 2021-06-28, Repl 2021-07-12, Repl 2021-07-26
    • 174

    Description

      The replSetMaintenance command does not take the RSTL when changing replication state.

      This is problematic for operations that make assertions based on replication state. Operations that hold the RSTL assume that the state does not change.

      In one example, changing the replications state from SECONDARY to RECOVERYING in this way can fail an assertion in AutoGetCollectionForRead.

      Attachments

        Issue Links

          Activity

            People

              vishnu.kaushik@mongodb.com Vishnu Kaushik
              louis.williams@mongodb.com Louis Williams
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: