[SERVER-28333] Question about network partition and replica set Created: 16/Mar/17 Updated: 31/May/17 Resolved: 28/Mar/17 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Replication |
| Affects Version/s: | 3.2.11 |
| Fix Version/s: | None |
| Type: | Question | Priority: | Major - P3 |
| Reporter: | Aldo | Assignee: | Kelsey Schubert |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Participants: |
| Description |
|
Hello there, Let's suppose to have 3 nodes: A, B, C. A is the primary. B, C are secondary.
Now let's suppose that, after a lot of hours, without fixing the network partition, node A crashes. The question is: are we 100% sure that the election will result in the node B (which is synchronized with A) to be elected as primary ? |
| Comments |
| Comment by Kelsey Schubert [ 28/Mar/17 ] |
|
Hi aldo, In the case you describe, Node B would be elected as Primary. Please note that 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. A question like this involving more discussion would be best posted on the mongodb-users group. Kind regards, |