initial_sync_capped_index.js should check SECONDARY state before running validate

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.3.1, 4.2.2, 4.0.14
    • Affects Version/s: None
    • Component/s: Replication
    • None
    • Fully Compatible
    • ALL
    • v4.2, v4.0
    • Repl 2019-10-21
    • 14
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      After SERVER-42312, we no longer allow the validate command when a node is in a RECOVERING state. We should make sure we check that a node is in SECONDARY mode before attempting to run the validate command on it.

              Assignee:
              Pavithra Vetriselvan
              Reporter:
              Pavithra Vetriselvan
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: