[DOCS-1372] Primary Node Rollback on Replica Set Created: 09/Apr/13  Updated: 16/Apr/13  Resolved: 09/Apr/13

Status: Closed
Project: Documentation
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Edouard Perov Assignee: Sam Kleinman (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Linux


Participants:
Days since reply: 10 years, 44 weeks, 1 day ago

 Description   

Hi,
I have a question about a Primary node Rollback on a Replica Set.
The documentation says:
http://docs.mongodb.org/manual/core/replication/#replica-set-failover
"Rollbacks occur when a primary accepts writes that other members of the set do not successfully replicate before the primary steps down."

The question is:
What does "other members" exactly mean?:

  • ALL other members need to replicate
  • even ONE member (lets call it S1) successfully replicates, and this is enough that Rollback does not occur, the data delivered to S1 will be delivered to other Secondaries.

Would you please also clarify this in the documentation.

If you have a detailed information/documentation about this behaviour, please just let me know.

Thanks,
Edouard



 Comments   
Comment by auto [ 16/Apr/13 ]

Author:

{u'date': u'2013-04-16T16:52:06Z', u'name': u'Sam Kleinman', u'email': u'samk@10gen.com'}

Message: DOCS-1372: adding clarification
Branch: master
https://github.com/mongodb/docs/commit/10236539aefa77b39947b6f1a8fbec1aa816516f

Comment by Edouard Perov [ 10/Apr/13 ]

Would you please point to where it is explained in the Mongo official documentation.
Thanks

Comment by Eliot Horowitz (Inactive) [ 09/Apr/13 ]

When the node dies, an election occurs, and the node with the most current data wins. So as long as the data is replicated to any node which remains up, then the data is not rolled back.

Generated at Thu Feb 08 07:40:52 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.