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

XMLWordPrintableJSON

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

      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 (Inactive)
            Reporter:
            Matthew Russotto (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: