Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
MongoDB High Availability

You're reading from  MongoDB High Availability

Product type Book
Published in Jul 2014
Publisher
ISBN-13 9781783986729
Pages 164 pages
Edition 1st Edition
Languages
Author (1):
Afshin Mehrabani Afshin Mehrabani
Profile icon Afshin Mehrabani

Table of Contents (17) Chapters

MongoDB High Availability
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Understanding the MongoDB Architecture and Processes Understanding MongoDB's Failures and Limitations Clustering in MongoDB Utilizing a Replica Set Replica Set in Action Understanding the Concept of Sharding Sharding in Action Analyzing and Improving Database Performance Migrating Instances and Reducing Downtime Monitoring and Troubleshooting the Database Index

Understanding the arbiter node's role


An arbiter node doesn't have any dataset, hence it doesn't accept read/write operations. The arbiter member votes in the replica set election process for a secondary node to become primary. An arbiter node comes useful when you have an even number of replica set members or not enough servers for a new member.

Note

Add an arbiter node to a replica set only when there is an even number of members. If you add an arbiter node to a set with an odd number of members, the set might suffer from tied elections. For more information, you can visit http://docs.mongodb.org/manual/core/replica-set-arbiter/.

The following diagram shows you a replica set with an even number of members:

The preceding diagram enables a replica set to have an odd number of votes and prevent the replica set from the tied election problem.

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}