diff options
author | Judah Schvimer <judah.schvimer@10gen.com> | 2019-10-22 19:45:58 +0000 |
---|---|---|
committer | evergreen <evergreen@mongodb.com> | 2019-10-22 19:45:58 +0000 |
commit | 992e55fb42122f718d11b80dbcdce95ce208f109 (patch) | |
tree | 9d0809c69c13e813e06ae0a9b307cacdafafe99a | |
parent | f5fbf17f9480a1eec61dee9bd270207ad772189a (diff) | |
download | mongo-992e55fb42122f718d11b80dbcdce95ce208f109.tar.gz |
SERVER-42554 stop filtering tmp.mr from dbhash checks
-rw-r--r-- | src/mongo/shell/replsettest.js | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/mongo/shell/replsettest.js b/src/mongo/shell/replsettest.js index 07c947d8e22..0dc000a7c9d 100644 --- a/src/mongo/shell/replsettest.js +++ b/src/mongo/shell/replsettest.js @@ -1670,7 +1670,6 @@ var ReplSetTest = function(opts) { this.getHashesUsingSessions = function(sessions, dbName, { filterCapped: filterCapped = true, - filterMapReduce: filterMapReduce = true, readAtClusterTime, } = {}) { return sessions.map(session => { @@ -1690,13 +1689,7 @@ var ReplSetTest = function(opts) { // replica set members and may therefore not have the same md5sum. We remove them // from the dbHash command response to avoid an already known case of a mismatch. // See SERVER-16049 for more details. - // - // If a map-reduce operation is interrupted by the server stepping down, then an - // unreplicated "tmp.mr." collection may be left behind. We remove it from the - // dbHash command response to avoid an already known case of a mismatch. - // TODO SERVER-27147: Stop filtering out "tmp.mr." collections. - if (cappedCollections.has(collName) || - (filterMapReduce && collName.startsWith("tmp.mr."))) { + if (cappedCollections.has(collName)) { delete res.collections[collName]; // The "uuids" field in the dbHash command response is new as of MongoDB 4.0. if (res.hasOwnProperty("uuids")) { |