diff options
author | Dianna Hohensee <dianna.hohensee@10gen.com> | 2019-02-20 15:11:42 -0500 |
---|---|---|
committer | Dianna Hohensee <dianna.hohensee@10gen.com> | 2019-02-21 11:31:21 -0500 |
commit | 6d56e6da95f9aa3792f5b234edb6c9117be3663f (patch) | |
tree | 9aaec331b8cae5aef5fcd2c2a8a92f35b619faf1 /src/mongo/db/index_builder.cpp | |
parent | 0b3f71118098d3613a02a6728202a27b8f3345e0 (diff) | |
download | mongo-6d56e6da95f9aa3792f5b234edb6c9117be3663f.tar.gz |
SERVER-39703 Pull opCtx ptr out of the TemporaryKVRecordStore and instead pass it as a function parameter
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 a40d5bfc24a..4d9c82548b0 100644 --- a/src/mongo/db/index_builder.cpp +++ b/src/mongo/db/index_builder.cpp @@ -185,7 +185,7 @@ Status IndexBuilder::_buildAndHandleErrors(OperationContext* opCtx, if (status.code() == ErrorCodes::InterruptedAtShutdown) { // leave it as-if kill -9 happened. This will be handled on restart. - indexer.abortWithoutCleanup(); + indexer.abortWithoutCleanup(opCtx); return status; } |