[SERVER-21564] shardCollection in fsm cluster.js obfuscates function override Created: 19/Nov/15 Updated: 25/Nov/15 Resolved: 19/Nov/15 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Testing Infrastructure |
| Affects Version/s: | 3.2.0-rc3 |
| Fix Version/s: | 3.2.0-rc4 |
| Type: | Improvement | Priority: | Trivial - P5 |
| Reporter: | Judah Schvimer | Assignee: | Judah Schvimer |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Sprint: | TIG D (12/11/15) |
| Participants: |
| Description |
|
shardCollection in fsm's cluster.js file is defined twice, once for a sharded cluser and once for non-sharded clusters. At first glance the non-sharded definition is more obvious and doesn't make it clear that the other one exists. This can easily be fixed with a better error message and a comment. |
| Comments |
| Comment by Githook User [ 19/Nov/15 ] |
|
Author: {u'username': u'judahschvimer', u'name': u'Judah Schvimer', u'email': u'judah@mongodb.com'}Message: |