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

replSetMaintenance command does not take the RSTL

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.2.18, 5.0.3, 4.4.9, 5.1.0-rc0
    • Affects Version/s: 4.4.2
    • Component/s: 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

      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.

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

              Created:
              Updated:
              Resolved: