diff options
author | Tess Avitabile <tess.avitabile@mongodb.com> | 2016-10-28 19:23:35 -0400 |
---|---|---|
committer | Tess Avitabile <tess.avitabile@mongodb.com> | 2016-10-28 19:23:35 -0400 |
commit | 217fb0a4d2b808fa45921e4ca1d73db32330620b (patch) | |
tree | 8ff9e4318bcb0ac9eefd8686414072055cb3d04f | |
parent | dd3367849b2f550e57c69003f3eb70679a1ba3c8 (diff) | |
download | mongo-r3.4.0-rc2.tar.gz |
Revert "SERVER-26712 temporarily disable id index version check"r3.4.0-rc2
This reverts commit 278bdb38318f84e0019982e4124e05ac22db05d2.
-rw-r--r-- | src/mongo/shell/replsettest.js | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/mongo/shell/replsettest.js b/src/mongo/shell/replsettest.js index 8f0e1cb6656..0acb2a4d924 100644 --- a/src/mongo/shell/replsettest.js +++ b/src/mongo/shell/replsettest.js @@ -1114,13 +1114,7 @@ var ReplSetTest = function(opts) { // secondaries. var secondaryCollInfo = secondary.getDB(dbName).getCollectionInfos(); secondaryCollInfo.forEach(secondaryInfo => { - // SERVER-26712 Temporarily avoid validating _id index version. - if (secondaryCollInfo.hasOwnProperty('idIndex')) - delete secondaryCollInfo.idIndex.v; primaryCollInfo.forEach(primaryInfo => { - // SERVER-26712 Temporarily avoid validating _id index version. - if (primaryCollInfo.hasOwnProperty('idIndex')) - delete primaryCollInfo.idIndex.v; if (secondaryInfo.name === primaryInfo.name) { if (!bsonBinaryEqual(secondaryInfo, primaryInfo)) { print(msgPrefix + |