diff options
Diffstat (limited to 'src/mongo/s/query/cluster_client_cursor.h')
-rw-r--r-- | src/mongo/s/query/cluster_client_cursor.h | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/src/mongo/s/query/cluster_client_cursor.h b/src/mongo/s/query/cluster_client_cursor.h index c4bb1c9373e..46b92eab642 100644 --- a/src/mongo/s/query/cluster_client_cursor.h +++ b/src/mongo/s/query/cluster_client_cursor.h @@ -64,7 +64,7 @@ public: * * A non-ok status is returned in case of any error. */ - virtual StatusWith<ClusterQueryResult> next() = 0; + virtual StatusWith<ClusterQueryResult> next(OperationContext* txn) = 0; /** * Must be called before destruction to abandon a not-yet-exhausted cursor. If next() has @@ -72,7 +72,7 @@ public: * * May block waiting for responses from remote hosts. */ - virtual void kill() = 0; + virtual void kill(OperationContext* txn) = 0; /** * Returns whether or not this cursor is tailing a capped collection on a shard. @@ -108,13 +108,6 @@ public: * the cursor is not tailable + awaitData). */ virtual Status setAwaitDataTimeout(Milliseconds awaitDataTimeout) = 0; - - /** - * Update the operation context for remote requests. - * - * Network requests depend on having a valid operation context for user initiated actions. - */ - virtual void setOperationContext(OperationContext* txn) = 0; }; } // namespace mongo |