diff options
author | Sviatlana Zuiko <sviatlana.zuiko@mongodb.com> | 2023-04-25 18:17:54 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2023-04-25 22:38:32 +0000 |
commit | 0ed3c5ba08d56e308bf05959932b34d8d1e6040e (patch) | |
tree | 1b55c511e87a6449cd9f3e754af04d1179ee2712 /src/mongo/db/clientcursor.cpp | |
parent | 8ecaea0cba2e7b121c189d4d4eedf7e3d725dc21 (diff) | |
download | mongo-0ed3c5ba08d56e308bf05959932b34d8d1e6040e.tar.gz |
Revert "SERVER-70127 change system operations to be killable by default"
This reverts commit c35bad3b048e8d885bf0b7517aacd2349ea81d14.
Diffstat (limited to 'src/mongo/db/clientcursor.cpp')
-rw-r--r-- | src/mongo/db/clientcursor.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/mongo/db/clientcursor.cpp b/src/mongo/db/clientcursor.cpp index 90c3a4581cc..db7a5253ef3 100644 --- a/src/mongo/db/clientcursor.cpp +++ b/src/mongo/db/clientcursor.cpp @@ -357,13 +357,6 @@ public: void run() { ThreadClient tc("clientcursormon", getGlobalServiceContext()); - - // TODO(SERVER-74662): Please revisit if this thread could be made killable. - { - stdx::lock_guard<Client> lk(*tc.get()); - tc.get()->setSystemOperationUnkillableByStepdown(lk); - } - while (!globalInShutdownDeprecated()) { { const ServiceContext::UniqueOperationContext opCtx = cc().makeOperationContext(); |