From 293c0ca515eb30cc8f4c74eb82c4e7b5f16d95c5 Mon Sep 17 00:00:00 2001 From: Kaloian Manassiev Date: Tue, 2 Dec 2014 15:18:28 -0500 Subject: 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. --- src/mongo/db/storage/kv/kv_engine.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mongo/db/storage/kv/kv_engine.h') 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. -- cgit v1.2.1