shardCollection in fsm cluster.js obfuscates function override

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Trivial - P5
    • 3.2.0-rc4
    • Affects Version/s: 3.2.0-rc3
    • Component/s: Testing Infrastructure
    • None
    • Fully Compatible
    • TIG D (12/11/15)
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            Judah Schvimer
            Reporter:
            Judah Schvimer
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: