summaryrefslogtreecommitdiff
path: root/src/mongo/db/operation_context.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/operation_context.h')
-rw-r--r--src/mongo/db/operation_context.h11
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 {