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

Write unit test for interaction of quiesce mode and REMOVED state

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.7.0
    • None
    • Replication
    • None
    • Fully Compatible
    • Repl 2020-05-18

    Description

      After SERVER-46893, there is special handling for isMaster commands  when a node is removed. We should add a unit test for the following case:

      • isMaster request during quiesce mode in REMOVED state

      (There is no need to test entering quiesce mode from the REMOVED state or test the interaction of quiesce mode and the STARTUP state, since we only enter quiesce mode if we're in state SECONDARY. There is no need to test the behavior of waiting isMaster requests during quiesce mode, since isMaster requests always return immediately during quiesce mode.)

      Attachments

        Activity

          People

            tess.avitabile@mongodb.com Tess Avitabile (Inactive)
            tess.avitabile@mongodb.com Tess Avitabile (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: