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

Remove unnecessary movePrimary calls from commands_lib.js

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 4.7.0
    • Affects Version/s: None
    • Component/s: None
    • Fully Compatible
    • ALL
    • Sharding 2020-04-20, Sharding 2020-05-04, Sharding 2020-05-18
    • 24

      Tests: applyOps_c_renameCollection_twoDbs and renameCollection_twoDbs both make use of the `movePrimary` command which is available on mongos only, but do not specify `skipUnlessSharded`.  It's unclear which resolution is prefered.

      1. Ignore CommandUnknown error.  This is the current state, if desired we should explicitly comment that failure is an option.
      2. Specify `skipUnlessSharded: true` if this is in deed a mongos only test.

            Assignee:
            blake.oler@mongodb.com Blake Oler
            Reporter:
            sara.golemon@mongodb.com Sara Golemon
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: