mongodb-replica-set


MongoDB: Adding member to replica set triggers election in 3.2.11?


What are the scenarios that cause mongodb to trigger an election on rs.add()?
In version 3.2.11, I have seen multiple times that adding/removing member to replica set does not trigger an election.
Contrary, in version 2.6, most of the times on rs.add()/rs.remove() calls would trigger election.
From docs, rs.add() can, in some cases, trigger an election.
What are the possible situations that may trigger an election? How can I completely avoid the election during rs.add()?
PS: There are some scenarios where we don't want an election to be triggered.
Election is triggered at least in scenario when you include "priority" information with node name.

Related Links

MongoDB: Adding member to replica set triggers election in 3.2.11?
504 Gateway Time-out Error in Mongo Replica set

Categories

HOME
skype-for-business
grizzly
teradata
compression
openacc
python-requests
liquibase
glsl
highmaps
bitbucket
opengl-es
promotions
sahi
token
fetch
adroitlogic
openstack-horizon
k-means
samba
orange
glibc
sonarlint
single-page-application
cherrypy
beaker-notebook
fastboot
concatenation
policy
apdu
chartist.js
stack-trace
large-files
uibarbuttonitem
r-factor
semantic-ui-react
concrete5
ios9
deferred
mplab
ng2-bootstrap
choco
kubectl
node-soap
webspeech-api
zimbra
http-proxy
dom4j
hippocms
outlook-2010
lex
cowboy
java-5
quartz
libzip
taiga
django-cors-headers
google-cloud-shell
runtime-permissions
fluent-nhibernate-mapping
node-java
intermediate-language
htop
android-vectordrawable
google-scholar
computed-properties
consolidation
sqlxml
dday
magnet-uri
jts
identifying
pagecontrol
log-analysis
strcpy
fiware-health
fedena
nsurlrequest
breeze-sharp
formbuilder
vundle
xts
time-frequency
cs193p
android-relativelayout
email-headers
iwork
jfilechooser
surfaceview
maven-webstart-plugin
leap-year
backbone-views
google-checkout
mysql2
magicsuggest
msbuild-task
spawn
biztalk-deployment
linqdatasource
yii-components
inflate
blackberry-eclipse-plugin
fileoutputstream
copyfile
yii-cactiverecord
pitch-shifting
browser-state
dynamic-scope
morfik
weak-typing

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App