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

initial_sync_capped_index.js should check SECONDARY state before running validate

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.3.1, 4.2.2, 4.0.14
    • Component/s: Replication
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v4.2, v4.0
    • Sprint:
      Repl 2019-10-21
    • Linked BF Score:
      14

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              pavithra.vetriselvan Pavithra Vetriselvan
              Reporter:
              pavithra.vetriselvan Pavithra Vetriselvan
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: