From 9652d252a2932fc0096704fccb1152b6b290fe6f Mon Sep 17 00:00:00 2001 From: James Wahlin Date: Tue, 27 Mar 2018 11:20:13 -0400 Subject: SERVER-33690 Transaction abort and commit should kill any associated client cursors --- src/mongo/db/operation_context.h | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'src/mongo/db/operation_context.h') diff --git a/src/mongo/db/operation_context.h b/src/mongo/db/operation_context.h index dc30d6dfd17..07980165e33 100644 --- a/src/mongo/db/operation_context.h +++ b/src/mongo/db/operation_context.h @@ -411,20 +411,6 @@ public: */ Microseconds getRemainingMaxTimeMicros() const; - /** - * Indicate that the current network operation will leave an open client cursor on completion. - */ - void setStashedCursor() { - _hasStashedCursor = true; - } - - /** - * Returns whether the current network operation will leave an open client cursor on completion. - */ - bool hasStashedCursor() { - return _hasStashedCursor; - } - private: /** * Returns true if this operation has a deadline and it has passed according to the fast clock @@ -509,10 +495,6 @@ private: Timer _elapsedTime; bool _writesAreReplicated = true; - - // When true, the cursor used by this operation will be stashed for use by a subsequent network - // operation. - bool _hasStashedCursor = false; }; namespace repl { -- cgit v1.2.1