[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: SERVER-21564 simplify shardCollection in fsm's cluster.js
Branch: master
https://github.com/mongodb/mongo/commit/962228de85d7361e7e578c2266c9f1d603209426

Generated at Thu Feb 08 03:57:44 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.