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

shardCollection in fsm cluster.js obfuscates function override

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Trivial - P5 Trivial - P5
    • 3.2.0-rc4
    • 3.2.0-rc3
    • Testing Infrastructure
    • None
    • Fully Compatible
    • TIG D (12/11/15)

    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.

      Attachments

        Activity

          People

            judah.schvimer@mongodb.com Judah Schvimer
            judah.schvimer@mongodb.com Judah Schvimer
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: