[SERVER-18567] ConnectionString::parse should return StatusWith<ConnectionString> Created: 19/May/15 Updated: 05/Feb/16 Resolved: 16/Jul/15 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Networking |
| Affects Version/s: | None |
| Fix Version/s: | 3.1.6 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Kaloian Manassiev | Assignee: | Kaloian Manassiev |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Participants: | |||||||||
| Description |
|
Currently ConnectionString::parse returns an invalid ConnectionString object if it fails and passes the message in a separate output parameter. It should be changed to instead return StatusWith<ConnectionString> and the variant, which returns an invalid ConnectionString should be removed. |
| Comments |
| Comment by Githook User [ 16/Jul/15 ] |
|
Author: {u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}Message: Removes the legacy ConnectionString::parse method and make all places use |
| Comment by Githook User [ 16/Jul/15 ] |
|
Author: {u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}Message: The future class and spawnCommand are only needed for sharding commands, Also moves setShardVersion to be under the version manager. No functional changes. |
| Comment by Githook User [ 22/May/15 ] |
|
Author: {u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}Message: |
| Comment by Githook User [ 22/May/15 ] |
|
Author: {u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}Message: This is all the non-sharding code, which is using it. |
| Comment by Githook User [ 21/May/15 ] |
|
Author: {u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}Message: |