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

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: 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
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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 (Inactive)
              Reporter:
              Spencer Brody (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: