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

Test must wait for for slave to sync FCV document before using commands available only in FCV 3.6.

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.6.0-rc4
    • Affects Version/s: None
    • Component/s: Replication
    • Labels:
      None
    • Fully Compatible
    • ALL
    • Repl 2017-12-04

      Starting a master using ReplTest.start(true) results in a master running with FCV 3.6.

      https://github.com/mongodb/mongo/blob/2fac57f28272d900e7926bed481e42b01cc45d00/src/mongo/shell/servers_misc.js#L142

      Starting a slave using ReplTest.start(false) results in a slave running with FCV 3.4 until it completes syncing all databases with a master (see comments). Any test depending on the slave being at FCV 3.6 must wait for replication before running any 3.6 commands

      This affects jstests/noPassthrough/unsupported_change_stream_deployments.js

            Assignee:
            matthew.russotto@mongodb.com Matthew Russotto
            Reporter:
            matthew.russotto@mongodb.com Matthew Russotto
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: