Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-21564

shardCollection in fsm cluster.js obfuscates function override

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

      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@mongodb.com Judah Schvimer
            Reporter:
            judah.schvimer@mongodb.com Judah Schvimer
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: