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

Confusing error message when command comes in while node is in drain mode

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 3.3.9
    • Affects Version/s: None
    • Component/s: Replication
    • None
    • Fully Compatible
    • ALL
    • Repl 15 (06/03/16), Repl 16 (06/24/16)
    • 0

      If a node is in drain mode when it receives a command we may return a "node is recovering" message, even though the node is not in state RECOVERING.
      This is due to this line: https://github.com/mongodb/mongo/blob/r3.3.6/src/mongo/db/dbcommands.cpp#L1326

      We should clean up the messaging here

            Assignee:
            hari.devaraj Hari Devaraj
            Reporter:
            spencer@mongodb.com Spencer Brody (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: