summaryrefslogtreecommitdiff
path: root/src/mongo/db/storage/kv/kv_engine.h
diff options
context:
space:
mode:
authorKaloian Manassiev <kaloian.manassiev@mongodb.com>2014-12-02 15:18:28 -0500
committerKaloian Manassiev <kaloian.manassiev@mongodb.com>2014-12-03 15:24:39 -0500
commit293c0ca515eb30cc8f4c74eb82c4e7b5f16d95c5 (patch)
treeac1ad7c9462d6e388262f00cca02afa3d58d7b8b /src/mongo/db/storage/kv/kv_engine.h
parent9268fd6df4027a79a19030f5f377eb88117a2025 (diff)
downloadmongo-293c0ca515eb30cc8f4c74eb82c4e7b5f16d95c5.tar.gz
SERVER-14062 StorageEngine::cleanShutdown should not accept OpCtx
There should not be active OperationContext when cleanShutdown is called, because it should be run under a global lock and should not be acquiring locks or performing recoverable operations. This change is necessary for the removal of the OperationContext registry and ensuring there is one OperationContext per client.
Diffstat (limited to 'src/mongo/db/storage/kv/kv_engine.h')
-rw-r--r--src/mongo/db/storage/kv/kv_engine.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/storage/kv/kv_engine.h b/src/mongo/db/storage/kv/kv_engine.h
index 1ff79bca388..9f343e1238c 100644
--- a/src/mongo/db/storage/kv/kv_engine.h
+++ b/src/mongo/db/storage/kv/kv_engine.h
@@ -119,7 +119,7 @@ namespace mongo {
*
* There is intentionally no uncleanShutdown().
*/
- virtual void cleanShutdown(OperationContext* txn) = 0;
+ virtual void cleanShutdown() = 0;
/**
* The destructor will never be called from mongod, but may be called from tests.