Check primaryShardAfter in database_versioning_all_commands.js

XMLWordPrintableJSON

    • Fully Compatible
    • ALL
    • v4.4
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      https://github.com/mongodb/mongo/blob/r4.3.3/jstests/sharding/database_versioning_all_commands.js#L132-L133

              assertShardDatabaseVersion(primaryShardBefore, dbName, dbVersionAfter);
              assertShardDatabaseVersion(primaryShardBefore, dbName, dbVersionAfter);
      

      The second call should use primaryShardAfter, not primaryShardBefore. Also another similar occurrence further down.

            Assignee:
            Lamont Nelson
            Reporter:
            Kevin Pulo
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: