summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/storage_interface_impl.cpp
diff options
context:
space:
mode:
authorSviatlana Zuiko <sviatlana.zuiko@mongodb.com>2023-04-25 18:17:54 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2023-04-25 22:38:32 +0000
commit0ed3c5ba08d56e308bf05959932b34d8d1e6040e (patch)
tree1b55c511e87a6449cd9f3e754af04d1179ee2712 /src/mongo/db/repl/storage_interface_impl.cpp
parent8ecaea0cba2e7b121c189d4d4eedf7e3d725dc21 (diff)
downloadmongo-0ed3c5ba08d56e308bf05959932b34d8d1e6040e.tar.gz
Revert "SERVER-70127 change system operations to be killable by default"
This reverts commit c35bad3b048e8d885bf0b7517aacd2349ea81d14.
Diffstat (limited to 'src/mongo/db/repl/storage_interface_impl.cpp')
-rw-r--r--src/mongo/db/repl/storage_interface_impl.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/mongo/db/repl/storage_interface_impl.cpp b/src/mongo/db/repl/storage_interface_impl.cpp
index 01e9a24cbea..00173186d96 100644
--- a/src/mongo/db/repl/storage_interface_impl.cpp
+++ b/src/mongo/db/repl/storage_interface_impl.cpp
@@ -224,12 +224,6 @@ StorageInterfaceImpl::createCollectionForBulkLoading(
auto opCtx = cc().makeOperationContext();
opCtx->setEnforceConstraints(false);
- // TODO(SERVER-74656): Please revisit if this thread could be made killable.
- {
- stdx::lock_guard<Client> lk(cc());
- cc().setSystemOperationUnkillableByStepdown(lk);
- }
-
// DocumentValidationSettings::kDisableInternalValidation is currently inert.
// But, it's logically ok to disable internal validation as this function gets called
// only during initial sync.