[SERVER-7111] DBClientReplicaSet::connect should not assert if primary is down but secondaries are available Created: 23/Sep/12 Updated: 11/Jul/16 Resolved: 26/Sep/12 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Internal Client, Sharding |
| Affects Version/s: | 2.2.0 |
| Fix Version/s: | 2.2.2, 2.3.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Randolph Tan | Assignee: | Randolph Tan |
| Resolution: | Done | Votes: | 1 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| Operating System: | ALL | ||||||||
| Participants: | |||||||||
| Description |
|
Otherwise, client won't be able to do secondary reads even if secondaries are available. |
| Comments |
| Comment by auto [ 06/Nov/12 ] |
|
Author: {u'date': u'2012-09-24T17:58:00Z', u'email': u'randolph@10gen.com', u'name': u'Randolph Tan'}Message: |
| Comment by Benedikt Waldvogel [ 03/Oct/12 ] |
|
Thanks. Isn't closing |
| Comment by Randolph Tan [ 03/Oct/12 ] |
|
Hi, This fix is just for the C++ driver. The bug you encountered is slightly different so I created a new ticket for you - |
| Comment by Benedikt Waldvogel [ 03/Oct/12 ] |
|
Using the latest nightly development release also fails for me. See the updated logs. |
| Comment by Randolph Tan [ 03/Oct/12 ] |
|
Hi, This fix is not yet included in the 2.2.x release (but is marked for backport). This fix is currently available only in the nightly development release. |
| Comment by Benedikt Waldvogel [ 03/Oct/12 ] |
|
My test case (see |
| Comment by auto [ 26/Sep/12 ] |
|
Author: {u'date': u'2012-09-24T10:58:00-07:00', u'email': u'randolph@10gen.com', u'name': u'Randolph Tan'}Message: |
| Comment by Daniel Pasette (Inactive) [ 23/Sep/12 ] |
|
Test case attached. Note that only fails if the primary and a secondary are stopped. If the 2 secondaries are stopped, test will pass. |