[SERVER-24130] Is validate() method a must after recover from an outage of replica set Created: 11/May/16  Updated: 24/May/16  Resolved: 20/May/16

Status: Closed
Project: Core Server
Component/s: Admin
Affects Version/s: None
Fix Version/s: None

Type: Question Priority: Major - P3
Reporter: Vincent Shen Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
Participants:

 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?



 Comments   
Comment by Ramon Fernandez Marina [ 20/May/16 ]

algoooody, you may want to read the documentation on backup methods.

Please note that the SERVER project is for reporting bugs or feature suggestions for the MongoDB server. For MongoDB-related support discussion please post on the mongodb-user group or Stack Overflow with the mongodb tag, where your question will reach a larger audience. A question like this involving more discussion would be best posted on the mongodb-user group. See also our Technical Support page for additional support resources.

Regards,
Ramón.

Generated at Thu Feb 08 04:05:28 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.