summaryrefslogtreecommitdiff
path: root/src/mongo/db/service_context.h
diff options
context:
space:
mode:
authorSuganthi Mani <suganthi.mani@mongodb.com>2019-01-15 06:41:23 -0500
committerSuganthi Mani <suganthi.mani@mongodb.com>2019-01-23 09:05:58 -0500
commit55d6072f0be597e950809d9ebcf9ba16cc96942d (patch)
tree46beb62563e7a2c4ef9b704123c4a540b820b5e3 /src/mongo/db/service_context.h
parentb89d1cb056f82af22a5bef211bd2680f3784e7c2 (diff)
downloadmongo-55d6072f0be597e950809d9ebcf9ba16cc96942d.tar.gz
SERVER-38511 Avoid killing read operations on stepdown, gated by new server parameter “closeConnectionsOnStepdown”.
Diffstat (limited to 'src/mongo/db/service_context.h')
-rw-r--r--src/mongo/db/service_context.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/mongo/db/service_context.h b/src/mongo/db/service_context.h
index cae0c488712..e0014143da9 100644
--- a/src/mongo/db/service_context.h
+++ b/src/mongo/db/service_context.h
@@ -362,12 +362,6 @@ public:
ErrorCodes::Error killCode = ErrorCodes::Interrupted);
/**
- * Kills all operations that have a Client that is associated with an incoming user
- * connection, except for the one associated with opCtx.
- */
- void killAllUserOperations(const OperationContext* opCtx, ErrorCodes::Error killCode);
-
- /**
* Registers a listener to be notified each time an op is killed.
*
* listener does not become owned by the environment. As there is currently no way to