From 217fb0a4d2b808fa45921e4ca1d73db32330620b Mon Sep 17 00:00:00 2001 From: Tess Avitabile Date: Fri, 28 Oct 2016 19:23:35 -0400 Subject: Revert "SERVER-26712 temporarily disable id index version check" This reverts commit 278bdb38318f84e0019982e4124e05ac22db05d2. --- src/mongo/shell/replsettest.js | 6 ------ 1 file changed, 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 + -- cgit v1.2.1