Story cover for Why we need to use Odd number of nodes in MongoDB ReplicaSet by kovidacademy
Why we need to use Odd number of nodes in MongoDB ReplicaSet
  • Reads 363
  • Votes 0
  • Parts 1
  • Time <5 mins
  • Reads 363
  • Votes 0
  • Parts 1
  • Time <5 mins
Ongoing, First published Oct 05, 2017
In MongoDB  ReplicaSet, the voting is done by a majority of voting members.

Imagine a Replica Set with three (voting) members. Let's say that Node A is primary, and nodes B+C are secondaries. Node A goes down, so nodes B+C go to election. They still do form a majority (two out of three). The election is first decided by priority. If both Nodes B & C have the same priority, then the one who is most up to date in respect to the failed primary (oplog) wins. Let's say it's Node B.
All Rights Reserved
Sign up to add Why we need to use Odd number of nodes in MongoDB ReplicaSet to your library and receive updates
or
#10mongodb
Content Guidelines
You may also like
You may also like
Slide 1 of 10
Breath of the Wild; Champions Group Chat cover
The Parallels cover
Various WayV Requests cover
Disventure Camp Rewritten: Season 2 cover
𝐄𝐈𝐆𝐇𝐓 𝐋𝐄𝐓𝐓𝐄𝐑𝐒  ―  j. grace ²  ✓ cover
You All Over Me [BxB] cover
Call me kitten (boyxboy love) ✓ cover
Avengers One Shots cover
Eet. ♡   cover
The Secenario Game cover

Breath of the Wild; Champions Group Chat

48 parts Complete

*COMPLETED* GO CHECK THE SECOND ONE FOR MORE! These are random times no actual order. This is basically like a group chat where they text each other. When my other fict comes out I may incorporate some of the jokes into this one.