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

Is validate() method a must after recover from an outage of replica set

    XMLWordPrintableJSON

Details

    • Icon: Question Question
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Admin
    • None

    Description

      we use storage level snapshot to recover from an outage for replica set. The outage is something like a power failure of all the nodes in the replica set. After we recover from the outage by mount the snapshot as it is, we found the count() method against all the nodes in the replica set gave a wrong result. Only after we use validate() method, then the count() can give the correct number. So our questions are:
      1. if validate() method a must after recover from an outage of replica set?
      2. is there anything we need to do besides validate() method?
      3. shall we leverage fsynclock() just before the snapshot is taken?

      Attachments

        Activity

          People

            Unassigned Unassigned
            algoooody Vincent Shen
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: