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

Check primaryShardAfter in database_versioning_all_commands.js

    • Fully Compatible
    • ALL
    • v4.4

      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@mongodb.com Lamont Nelson
            Reporter:
            kevin.pulo@mongodb.com Kevin Pulo
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: