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

Write tests for mixVersion, upgrade/dowgrade scenario for logical clock

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.5.10
    • Affects Version/s: 3.5.1
    • Component/s: Sharding
    • None
    • Fully Compatible
    • Sharding 2017-06-19, Sharding 2017-07-10

      The mongo config server should not enable key generation until the featureCompatibilityVersion = 3.6 is set
      The mongo should not write to oplog until featureCompatibilityVersion = 3.6 is set. For the sharded cluster the featureCompatibilityVersion is sent to mongos and it in turn send it to config servers and shards.

      The existing multiversion test suite. https://github.com/mongodb/mongo/blob/master/jstests/multiVersion/upgrade_cluster.js
      starts with last-stable binary = 3.4 and upgrades it to the latest = current master.

      upgrade order is
      config servers
      shards
      mongos

      need to add a test case where
      once the config servers are upgraded it verifies that

      • config returns dummy signed $logicalTime and operation time
      • mongod and mongos ignore afterClusterTime that can be sent by mongo shell

      once mongod is upgraded

      • mongod returns dummy signed $logicalTime and operation time
      • mongod and mongos ignore afterClusterTime that can be sent by mongo shell

      once mongos are upgraded and

      • mongod and mongos returns dummy signed $logicalTime and operation time
      • mongod and mongos ignore afterClusterTime that can be sent by mongo shell

      once featureCompatibilityVersion = 3.6 is set

      • mongos and mongod correctly process causally consistent requests

      the downgrade should check this in reverse.

            Assignee:
            jack.mulrow@mongodb.com Jack Mulrow
            Reporter:
            randolph@mongodb.com Randolph Tan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: