diff options
author | Mathias Stearn <mathias@10gen.com> | 2017-06-06 16:48:51 -0400 |
---|---|---|
committer | Mathias Stearn <mathias@10gen.com> | 2017-06-07 15:35:52 -0400 |
commit | e783037e5e7f2042820ee8becdd4cef778eceef8 (patch) | |
tree | 36f2ac44efe53590928dc4667a072044221ed12c /src/mongo/db/index | |
parent | 9477495e07365cf10de4e935603e1fb9cc01fea6 (diff) | |
download | mongo-e783037e5e7f2042820ee8becdd4cef778eceef8.tar.gz |
SERVER-29469 Delete OperationContextImpl class
Diffstat (limited to 'src/mongo/db/index')
-rw-r--r-- | src/mongo/db/index/index_access_method.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/mongo/db/index/index_access_method.cpp b/src/mongo/db/index/index_access_method.cpp index 0a087140600..b52092a6cb0 100644 --- a/src/mongo/db/index/index_access_method.cpp +++ b/src/mongo/db/index/index_access_method.cpp @@ -466,10 +466,11 @@ Status IndexAccessMethod::commitBulk(OperationContext* opCtx, std::unique_ptr<BulkBuilder::Sorter::Iterator> i(bulk->_sorter->done()); stdx::unique_lock<Client> lk(*opCtx->getClient()); - ProgressMeterHolder pm(*opCtx->setMessage_inlock("Index Bulk Build: (2/3) btree bottom up", - "Index: (2/3) BTree Bottom Up Progress", - bulk->_keysInserted, - 10)); + ProgressMeterHolder pm( + CurOp::get(opCtx)->setMessage_inlock("Index Bulk Build: (2/3) btree bottom up", + "Index: (2/3) BTree Bottom Up Progress", + bulk->_keysInserted, + 10)); lk.unlock(); std::unique_ptr<SortedDataBuilderInterface> builder; |