diff options
author | James Wahlin <james@mongodb.com> | 2018-03-27 11:20:13 -0400 |
---|---|---|
committer | James Wahlin <james@mongodb.com> | 2018-04-16 14:33:12 -0400 |
commit | 9652d252a2932fc0096704fccb1152b6b290fe6f (patch) | |
tree | b5a6b0f0f23ef1c1e9c9924c37e8d1d5eedc39e1 /src/mongo/db/operation_context.h | |
parent | c02574298a711b6de8a3d89cedcfe98040a6f55b (diff) | |
download | mongo-9652d252a2932fc0096704fccb1152b6b290fe6f.tar.gz |
SERVER-33690 Transaction abort and commit should kill any associated client cursors
Diffstat (limited to 'src/mongo/db/operation_context.h')
-rw-r--r-- | src/mongo/db/operation_context.h | 18 |
1 files changed, 0 insertions, 18 deletions
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 { |