MongoDB: The Definitive Guide by Kristina Chodorow
Author:Kristina Chodorow
Language: eng
Format: epub, azw3, pdf
Tags: COMPUTERS / Data Modeling & Design
Publisher: O’Reilly Media
Published: 2013-05-08T16:00:00+00:00
Figure 12-2. As replication chains get longer, it takes longer for all members to get a copy of the data
This is highly unlikely, but not impossible. It is, however, probably undesirable: each secondary in the chain will have to be a bit further behind than the secondary “in front” of it. You can fix this by modifying the replication source for a member using the replSetSyncFrom command (or the rs.syncFrom() helper).
Connect to the secondary whose replication source you want to change and run this command, passing it the server you’d prefer this member to sync from:
> secondary.adminCommand({"replSetSyncFrom" : "server0:27017"})
It may take a few seconds to switch sync sources, but if you run rs.status() on that member again, you should see that the "syncingTo" field now says "server0:27017".
At this point, server4 will continue replicating from server0 until server0 becomes unavailable or, if it happened to be a secondary, falls significantly behind the other members.
Download
MongoDB: The Definitive Guide by Kristina Chodorow.azw3
MongoDB: The Definitive Guide by Kristina Chodorow.pdf
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Algorithms of the Intelligent Web by Haralambos Marmanis;Dmitry Babenko(8296)
Azure Data and AI Architect Handbook by Olivier Mertens & Breght Van Baelen(6714)
Building Statistical Models in Python by Huy Hoang Nguyen & Paul N Adams & Stuart J Miller(6693)
Serverless Machine Learning with Amazon Redshift ML by Debu Panda & Phil Bates & Bhanu Pittampally & Sumeet Joshi(6564)
Data Wrangling on AWS by Navnit Shukla | Sankar M | Sam Palani(6349)
Driving Data Quality with Data Contracts by Andrew Jones(6298)
Machine Learning Model Serving Patterns and Best Practices by Md Johirul Islam(6067)
Learning SQL by Alan Beaulieu(5994)
Weapons of Math Destruction by Cathy O'Neil(5778)
Big Data Analysis with Python by Ivan Marin(5352)
Data Engineering with dbt by Roberto Zagni(4349)
Solidity Programming Essentials by Ritesh Modi(3997)
Time Series Analysis with Python Cookbook by Tarek A. Atwan(3854)
Pandas Cookbook by Theodore Petrou(3566)
Blockchain Basics by Daniel Drescher(3292)
Hands-On Machine Learning for Algorithmic Trading by Stefan Jansen(2905)
Feature Store for Machine Learning by Jayanth Kumar M J(2812)
Learn T-SQL Querying by Pam Lahoud & Pedro Lopes(2794)
Mastering Python for Finance by Unknown(2743)
