[SERVER-12726] addArb adding full member if incorrect input supplied Created: 14/Feb/14 Updated: 25/Jan/17 Resolved: 04/Mar/15 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Replication |
| Affects Version/s: | 2.4.9 |
| Fix Version/s: | 3.1.0 |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | John Greenall | Assignee: | Siyuan Zhou |
| 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 |
| Sprint: | RPL 0 3/13/15 |
| Participants: |
| Description |
|
Small niggle: running ) from mongo shell adds myhost as a full member of replicaSet. rs.addArb("host":"myhost:27017") |
| Comments |
| Comment by Githook User [ 04/Mar/15 ] |
|
Author: {u'username': u'visualzhou', u'name': u'Siyuan Zhou', u'email': u'siyuan.zhou@mongodb.com'}Message: |
| Comment by Eric Milkie [ 20/Feb/15 ] |
|
The problem is that rs.add ignores the hostandport if it's not a string. Instead, we should throw an error. |