summaryrefslogtreecommitdiff
path: root/src/mongo/s/commands/cluster_write.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/s/commands/cluster_write.h')
-rw-r--r--src/mongo/s/commands/cluster_write.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/s/commands/cluster_write.h b/src/mongo/s/commands/cluster_write.h
index 80f4a325ddf..cf41b20bcb5 100644
--- a/src/mongo/s/commands/cluster_write.h
+++ b/src/mongo/s/commands/cluster_write.h
@@ -43,7 +43,7 @@ class ClusterWriter {
public:
ClusterWriter(bool autoSplit, int timeoutMillis);
- void write(OperationContext* txn,
+ void write(OperationContext* opCtx,
const BatchedCommandRequest& request,
BatchedCommandResponse* response);
@@ -61,7 +61,7 @@ private:
* max size of a shard attempt to split the chunk. This call is opportunistic and swallows any
* errors.
*/
-void updateChunkWriteStatsAndSplitIfNeeded(OperationContext* txn,
+void updateChunkWriteStatsAndSplitIfNeeded(OperationContext* opCtx,
ChunkManager* manager,
Chunk* chunk,
long dataWritten);