diff options
author | Jason Chan <jason.chan@mongodb.com> | 2021-11-05 15:59:06 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-11-05 16:36:24 +0000 |
commit | fff6e81c3b7b69660e09d3554d57c08de24192c6 (patch) | |
tree | 309a762a76f50d1016b1657fe7542e9d48ad4815 | |
parent | 205bcaa9c722e425e7ca45acf89956841bfcf8da (diff) | |
download | mongo-fff6e81c3b7b69660e09d3554d57c08de24192c6.tar.gz |
SERVER-61255 DummyReplicator should replicate index version as specifiedr5.0.0-rc3
-rw-r--r-- | jstests/hooks/dummy_cluster_to_cluster_replicator.js | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/jstests/hooks/dummy_cluster_to_cluster_replicator.js b/jstests/hooks/dummy_cluster_to_cluster_replicator.js index 36f66517dcf..cc4d885b1ce 100644 --- a/jstests/hooks/dummy_cluster_to_cluster_replicator.js +++ b/jstests/hooks/dummy_cluster_to_cluster_replicator.js @@ -31,7 +31,6 @@ function copyCollection(c0Conn, c1Conn, c0Topology, c1Topology, dbName, collInfo if (Object.keys(index.key).length !== 1 || !index.key._id) { jsTestLog("Creating index for: " + c0Coll + "with key: " + tojson(index.key)); let options = Object.assign({}, index); - delete options.v; delete options.key; assert.commandWorked(c1Coll.createIndex(index.key, options)); } |