Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Force secondary to sync to specific server
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Colin Howe  
View profile  
 More options Jul 3 2012, 12:16 pm
From: Colin Howe <colintheh...@googlemail.com>
Date: Tue, 3 Jul 2012 17:16:22 +0100
Local: Tues, Jul 3 2012 12:16 pm
Subject: Force secondary to sync to specific server

We've hit the following scenario:

   - X is the primary
   - Y is a secondary but is struggling to keep up with the oplog and is
   starting to have noticable replication lag
   - Z is also a secondary and has syncingTo in rs.status() set to Y... as
   a result Z is dropping behind too even though it is actually healthy

Is there a way to force Z to sync to X?

Thanks,
Colin

--
Website: http://www.colinhowe.co.uk
Twitter: http://twitter.com/colinhowe


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Kenny Gorman  
View profile  
 More options Jul 3 2012, 12:42 pm
From: Kenny Gorman <k...@kennygorman.com>
Date: Tue, 3 Jul 2012 09:42:30 -0700
Local: Tues, Jul 3 2012 12:42 pm
Subject: Re: [mongodb-user] Force secondary to sync to specific server

Colin,

Yes, have seen this exact problem before.

You can hack on your /etc/hosts file to redirect the secondary to read from anyone you want.  So just put a false entry in there for the server it's reading from pointing back to the primary.  I think there are tickets to deal with this in the future.

-kg

On Jul 3, 2012, at 9:16 AM, Colin Howe wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jenna  
View profile   Translate to Translated (View Original)
 More options Jul 3 2012, 4:39 pm
From: Jenna <jenna.deboisbl...@10gen.com>
Date: Tue, 3 Jul 2012 13:39:12 -0700 (PDT)
Local: Tues, Jul 3 2012 4:39 pm
Subject: Re: Force secondary to sync to specific server
Hi Colin,
There is a JIRA ticket for this request: https://jira.mongodb.org/browse/SERVER-3921.
The issue has been resolved and will be available in MongoDB version
2.2, the next stable release.

On Jul 3, 12:42 pm, Kenny Gorman <k...@kennygorman.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »