summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/config/configsvr_rename_collection_metadata_command.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/s/config/configsvr_rename_collection_metadata_command.cpp')
-rw-r--r--src/mongo/db/s/config/configsvr_rename_collection_metadata_command.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/mongo/db/s/config/configsvr_rename_collection_metadata_command.cpp b/src/mongo/db/s/config/configsvr_rename_collection_metadata_command.cpp
index 6209d5992d0..2abbdd528b0 100644
--- a/src/mongo/db/s/config/configsvr_rename_collection_metadata_command.cpp
+++ b/src/mongo/db/s/config/configsvr_rename_collection_metadata_command.cpp
@@ -102,11 +102,6 @@ public:
auto newClient = opCtx->getServiceContext()->makeClient("RenameCollectionMetadata");
AuthorizationSession::get(newClient.get())
->grantInternalAuthorization(newClient.get());
- {
- stdx::lock_guard<Client> lk(*newClient.get());
- newClient->setSystemOperationKillableByStepdown(lk);
- }
-
AlternativeClientRegion acr(newClient);
auto executor =
Grid::get(opCtx->getServiceContext())->getExecutorPool()->getFixedExecutor();