diff options
author | Wenbin Zhu <wenbin.zhu@mongodb.com> | 2021-11-01 20:37:20 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-11-01 20:51:44 +0000 |
commit | 8443b63b12e53d21590b1f7dcf02c5df26b9ff40 (patch) | |
tree | 93eaa88ddf26d7cc996f03654ff2d2095bdbec2c /src/mongo/db/operation_context.h | |
parent | d1a9e68d581f8e3162bc790bdb30986b8d030d86 (diff) | |
download | mongo-8443b63b12e53d21590b1f7dcf02c5df26b9ff40.tar.gz |
Revert "SERVER-59226 Fix deadlock between uninterruptible profiling operation and stepdown thread."
This reverts commit d1a9e68d581f8e3162bc790bdb30986b8d030d86.
Diffstat (limited to 'src/mongo/db/operation_context.h')
-rw-r--r-- | src/mongo/db/operation_context.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/mongo/db/operation_context.h b/src/mongo/db/operation_context.h index a2eacc1e700..4a9bc116da4 100644 --- a/src/mongo/db/operation_context.h +++ b/src/mongo/db/operation_context.h @@ -432,14 +432,6 @@ public: */ Microseconds getRemainingMaxTimeMicros() const; - /** - * Sets that this operation should ignore interruption except for replication state change. Can - * only be called by the thread executing this on behalf of this OperationContext. - */ - void setIgnoreInterruptsExceptForReplStateChange(bool target) { - _ignoreInterruptsExceptForReplStateChange = target; - } - private: /** * Returns true if this operation has a deadline and it has passed according to the fast clock @@ -529,9 +521,6 @@ private: Timer _elapsedTime; bool _writesAreReplicated = true; - - bool _ignoreInterruptsExceptForReplStateChange = false; - AtomicWord<bool> _killRequestedForReplStateChange{false}; }; namespace repl { |