diff options
author | Andy Schwerin <schwerin@mongodb.com> | 2016-05-27 10:18:32 -0400 |
---|---|---|
committer | Andy Schwerin <schwerin@mongodb.com> | 2016-05-27 11:45:14 -0400 |
commit | a47b34136b9952865e060a6126fffc2a8a252d6d (patch) | |
tree | e0a41672c79a7f47512e3c96c93a60b404ebd61a /src/mongo/db/service_context_noop.cpp | |
parent | 2ed62dcea1bb786fd166de499b3a9af72bebc41b (diff) | |
download | mongo-a47b34136b9952865e060a6126fffc2a8a252d6d.tar.gz |
SERVER-23905 Move global operation killing implementations from ServiceContextMongoD to ServiceContext.
Diffstat (limited to 'src/mongo/db/service_context_noop.cpp')
-rw-r--r-- | src/mongo/db/service_context_noop.cpp | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/mongo/db/service_context_noop.cpp b/src/mongo/db/service_context_noop.cpp index fd94b35db89..0280d1b4742 100644 --- a/src/mongo/db/service_context_noop.cpp +++ b/src/mongo/db/service_context_noop.cpp @@ -67,23 +67,6 @@ StorageFactoriesIterator* ServiceContextNoop::makeStorageFactoriesIterator() { return new EmptySFI(); } -void ServiceContextNoop::setKillAllOperations() {} - -void ServiceContextNoop::unsetKillAllOperations() {} - -bool ServiceContextNoop::getKillAllOperations() { - return false; -} - -bool ServiceContextNoop::killOperation(unsigned int opId) { - return false; -} - -void ServiceContextNoop::killAllUserOperations(const OperationContext* txn, - ErrorCodes::Error killCode) {} - -void ServiceContextNoop::registerKillOpListener(KillOpListenerInterface* listener) {} - std::unique_ptr<OperationContext> ServiceContextNoop::_newOpCtx(Client* client) { return stdx::make_unique<OperationContextNoop>(client, _nextOpId.fetchAndAdd(1)); } |