Remove unnecessary movePrimary calls from commands_lib.js

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: 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
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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
            Reporter:
            Sara Golemon (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: