diff options
author | Siyuan Zhou <siyuan.zhou@mongodb.com> | 2016-11-06 01:33:50 -0400 |
---|---|---|
committer | Siyuan Zhou <siyuan.zhou@mongodb.com> | 2016-11-06 01:33:50 -0400 |
commit | d23e79eb9e69bd746416d9f674dfaee59457c887 (patch) | |
tree | 7ae8940e36d5ae51bb4eadd1318860ca212e8c3f /src/mongo/db/exec/working_set_common.cpp | |
parent | 0ac04999faae1d2fc0e10972aaf21082a2e48c8f (diff) | |
download | mongo-d23e79eb9e69bd746416d9f674dfaee59457c887.tar.gz |
Revert "SERVER-26202 Relax index constraints in oplog application"
This reverts commit f00448255bbb24c07e2f55e7e229f19e316350a6.
Diffstat (limited to 'src/mongo/db/exec/working_set_common.cpp')
-rw-r--r-- | src/mongo/db/exec/working_set_common.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/mongo/db/exec/working_set_common.cpp b/src/mongo/db/exec/working_set_common.cpp index a9035311bba..966e32eec61 100644 --- a/src/mongo/db/exec/working_set_common.cpp +++ b/src/mongo/db/exec/working_set_common.cpp @@ -118,10 +118,7 @@ bool WorkingSetCommon::fetch(OperationContext* txn, // There's no need to compute the prefixes of the indexed fields that cause the index to // be multikey when ensuring the keyData is still valid. MultikeyPaths* multikeyPaths = nullptr; - member->keyData[i].index->getKeys(member->obj.value(), - IndexAccessMethod::GetKeysMode::kEnforceConstraints, - &keys, - multikeyPaths); + member->keyData[i].index->getKeys(member->obj.value(), &keys, multikeyPaths); if (!keys.count(member->keyData[i].keyData)) { // document would no longer be at this position in the index. return false; |