summaryrefslogtreecommitdiff
path: root/src/mongo/db/index_builder.cpp
diff options
context:
space:
mode:
authorMathias Stearn <mathias@10gen.com>2016-09-14 15:10:22 -0400
committerMathias Stearn <mathias@10gen.com>2016-09-16 16:52:29 -0400
commit91ab6853106b59f9583df7eb14716a8ec932c216 (patch)
tree38326a331e51f8b642618b8cf2133cd2694b9050 /src/mongo/db/index_builder.cpp
parentdc83fb0433fcae6e72f035df7458473b59223eb5 (diff)
downloadmongo-91ab6853106b59f9583df7eb14716a8ec932c216.tar.gz
SERVER-26005 FTDC shouldn't conflict with secondary batch application
Diffstat (limited to 'src/mongo/db/index_builder.cpp')
-rw-r--r--src/mongo/db/index_builder.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/index_builder.cpp b/src/mongo/db/index_builder.cpp
index 352b5f2d5cc..eb9baaefacc 100644
--- a/src/mongo/db/index_builder.cpp
+++ b/src/mongo/db/index_builder.cpp
@@ -83,7 +83,7 @@ void IndexBuilder::run() {
const ServiceContext::UniqueOperationContext txnPtr = cc().makeOperationContext();
OperationContext& txn = *txnPtr;
- txn.lockState()->setIsBatchWriter(true);
+ txn.lockState()->setShouldConflictWithSecondaryBatchApplication(false);
AuthorizationSession::get(txn.getClient())->grantInternalAuthorization();