[SERVER-4750] Secondary syncs to another secondary that has slaveDelay > 0 Created: 24/Jan/12 Updated: 04/Feb/15 Resolved: 06/Mar/12 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Replication |
| Affects Version/s: | 1.8.4, 2.0.2 |
| Fix Version/s: | 2.0.6, 2.1.1 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Ansgar Hofmann | Assignee: | Eric Milkie |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||||||
| Operating System: | ALL | ||||||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||||||
| Description |
|
I have this replset: { , , { "_id" : 2, "host" : "a2.serv:27017" } ] Tue Jan 24 10:59:40 [rsStart] replSet STARTUP2 The only solution right now seems to remove slaveDelay for s1.serv. How it should be: if a secondary in a replset searches for a peer to sync it should exclude peers that have a slaveDelay higher than itself. |
| Comments |
| Comment by auto [ 10/May/12 ] |
|
Author: {u'login': u'milkie', u'name': u'Eric Milkie', u'email': u'milkie@10gen.com'}Message: Conflicts: db/repl/rs_initialsync.cpp |
| Comment by Andy Schwerin [ 25/Apr/12 ] |
|
For 2.0.6, I think. |
| Comment by Scott Hernandez (Inactive) [ 25/Apr/12 ] |
|
Yep, added a new issue to address this in the future : |
| Comment by Andy Schwerin [ 25/Apr/12 ] |
|
Before backporting, I'd like to know that this won't prevent syncing of secondaries that can only communicate with slave-delayed secondaries. |
| Comment by Sam Kleinman (Inactive) [ 08/Mar/12 ] |
|
Marking documentation done after creating a separate docs ticket to be addressed in the near future. |
| Comment by auto [ 07/Mar/12 ] |
|
Author: {u'login': u'milkie', u'name': u'Eric Milkie', u'email': u'milkie@10gen.com'}Message: |
| Comment by auto [ 06/Mar/12 ] |
|
Author: {u'login': u'milkie', u'name': u'Eric Milkie', u'email': u'milkie@10gen.com'}Message: |
| Comment by auto [ 06/Mar/12 ] |
|
Author: {u'login': u'milkie', u'name': u'Eric Milkie', u'email': u'milkie@10gen.com'}Message: After |