diff options
author | Mathias Stearn <mathias@10gen.com> | 2016-09-14 15:10:22 -0400 |
---|---|---|
committer | Mathias Stearn <mathias@10gen.com> | 2016-09-16 16:52:29 -0400 |
commit | 91ab6853106b59f9583df7eb14716a8ec932c216 (patch) | |
tree | 38326a331e51f8b642618b8cf2133cd2694b9050 /src/mongo/db/index_builder.cpp | |
parent | dc83fb0433fcae6e72f035df7458473b59223eb5 (diff) | |
download | mongo-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.cpp | 2 |
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(); |