summaryrefslogtreecommitdiff
path: root/src/mongo/s/query/cluster_cursor_manager.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/s/query/cluster_cursor_manager.h')
-rw-r--r--src/mongo/s/query/cluster_cursor_manager.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/s/query/cluster_cursor_manager.h b/src/mongo/s/query/cluster_cursor_manager.h
index 6126ef0757e..ad320452b3b 100644
--- a/src/mongo/s/query/cluster_cursor_manager.h
+++ b/src/mongo/s/query/cluster_cursor_manager.h
@@ -154,7 +154,7 @@ public:
*
* Can block.
*/
- StatusWith<ClusterQueryResult> next(OperationContext* txn);
+ StatusWith<ClusterQueryResult> next(OperationContext* opCtx);
/**
* Returns whether or not the underlying cursor is tailing a capped collection. Cannot be
@@ -261,7 +261,7 @@ public:
*
* Does not block.
*/
- StatusWith<CursorId> registerCursor(OperationContext* txn,
+ StatusWith<CursorId> registerCursor(OperationContext* opCtx,
std::unique_ptr<ClusterClientCursor> cursor,
const NamespaceString& nss,
CursorType cursorType,
@@ -282,7 +282,7 @@ public:
*/
StatusWith<PinnedCursor> checkOutCursor(const NamespaceString& nss,
CursorId cursorId,
- OperationContext* txn);
+ OperationContext* opCtx);
/**
* Informs the manager that the given cursor should be killed. The cursor need not necessarily