[SERVER-17107] Replica set, with only one voter, invariants during election Created: 29/Jan/15 Updated: 06/Feb/15 Resolved: 29/Jan/15 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Replication |
| Affects Version/s: | 3.0.0-rc7 |
| Fix Version/s: | 3.0.0-rc8 |
| Type: | Bug | Priority: | Critical - P2 |
| Reporter: | Scott Hernandez (Inactive) | Assignee: | Scott Hernandez (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Operating System: | ALL |
| Participants: |
| Description |
|
The freshness checker expects that it has to check other voting nodes, even though there are none:
This will happen whenever there is only one voting member in a replica set config. Note: The config must have more than one member. |
| Comments |
| Comment by Eric Milkie [ 29/Jan/15 ] |
|
Author: {u'username': u'milkie', u'name': u'Eric Milkie', u'email': u'milkie@10gen.com'}Message: |
| Comment by Eric Milkie [ 29/Jan/15 ] |
|
Author: {u'username': u'milkie', u'name': u'Eric Milkie', u'email': u'milkie@10gen.com'}Message: (cherry picked from commit 11c4de9946fbf466a7c70d4a7f4fce2638fa2e86) |
| Comment by Eric Milkie [ 29/Jan/15 ] |
|
The failure is triggered whenever getMaybeUpHostAndPorts() returns an empty vector, which could happen with any number of nodes > 1 in a config. |