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

Write unit test for interaction of quiesce mode and REMOVED state

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.7.0
    • Affects Version/s: None
    • Component/s: Replication
    • None
    • Fully Compatible
    • Repl 2020-05-18

      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.)

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

              Created:
              Updated:
              Resolved: