[SERVER-3799] Replica set tagging breaks if tags are changed until servers restarted Created: 09/Sep/11  Updated: 11/Jul/16  Resolved: 20/Sep/11

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: 2.0.0-rc2
Fix Version/s: 2.0.1, 2.1.0

Type: Bug Priority: Major - P3
Reporter: Spencer Brody (Inactive) Assignee: Kristina Chodorow (Inactive)
Resolution: Done Votes: 0
Labels: replication, tagging
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: Text File rsConf.txt    
Operating System: ALL
Participants:

 Description   

I set up a 6 node replica set with 1 arbiter. I have attached my replica set configuration.
I have on getLastErrorMode called "threeInTwoDC" which means it should write to 3 servers, across 2 data centers.
I started off with two data centers, ny and sf, with 2 machines in ny and 3 in sf.
I then reconfigured to make one of the machines in sf be in a new data center called eu.

Now, when in this state, there are 2 servers (one in ny and one in sf) where if either one of them is fsync-locked a getLastError with w='threeInTwoDC' hangs. It should work with any one server down. Restarting all nodes seems to fix the problem.



 Comments   
Comment by auto [ 23/Sep/11 ]

Author:

{u'login': u'kchodorow', u'name': u'Kristina', u'email': u'kristina@10gen.com'}

Message: add test for SERVER-3799
Branch: v2.0
https://github.com/mongodb/mongo/commit/7ce5d643a0e17b80ac8961ff962b6609948dbcf8

Comment by auto [ 23/Sep/11 ]

Author:

{u'login': u'kchodorow', u'name': u'Kristina', u'email': u'kristina@10gen.com'}

Message: check tags in member config equality func SERVER-3799
Branch: v2.0
https://github.com/mongodb/mongo/commit/1eb2d4556da2bc30f982538d60f83abb8e78b5d8

Comment by auto [ 20/Sep/11 ]

Author:

{u'login': u'kchodorow', u'name': u'Kristina', u'email': u'kristina@10gen.com'}

Message: add test for SERVER-3799
Branch: master
https://github.com/mongodb/mongo/commit/6de0bc4ac872269410dbb6477903de507289e75c

Comment by auto [ 20/Sep/11 ]

Author:

{u'login': u'kchodorow', u'name': u'Kristina', u'email': u'kristina@10gen.com'}

Message: check tags in member config equality func SERVER-3799
Branch: master
https://github.com/mongodb/mongo/commit/cfca5a3037c8500fd2e1b999893a85e5fbf80c58

Generated at Thu Feb 08 03:04:05 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.