2017-08-23 17:19:08 -04:00
|
|
|
/**
|
|
|
|
|
* Multiversion initial sync test. Tests that initial sync succeeds when a 'latest' version
|
|
|
|
|
* secondary syncs from a 'last-stable' version replica set.
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
'use strict';
|
|
|
|
|
|
2018-01-29 11:02:11 -05:00
|
|
|
load("./jstests/libs/feature_compatibility_version.js");
|
2017-08-23 17:19:08 -04:00
|
|
|
load("./jstests/multiVersion/libs/initial_sync.js");
|
|
|
|
|
|
|
|
|
|
var testName = "multiversion_initial_sync_latest_from_last_stable";
|
|
|
|
|
let replSetVersion = "last-stable";
|
|
|
|
|
let newSecondaryVersion = "latest";
|
|
|
|
|
|
2018-01-29 11:02:11 -05:00
|
|
|
multversionInitialSyncTest(testName, replSetVersion, newSecondaryVersion, {}, lastStableFCV);
|