summaryrefslogtreecommitdiff
path: root/src/mongo/db/service_entry_point_mongod.cpp
diff options
context:
space:
mode:
authorBenety Goh <benety@mongodb.com>2018-02-13 14:43:17 -0500
committerBenety Goh <benety@mongodb.com>2018-02-13 14:52:48 -0500
commitfab8bda84690299be8cce769309f4711484b3508 (patch)
tree4ba941b3f1db51a9e797854b9a484d88a8f7eb3d /src/mongo/db/service_entry_point_mongod.cpp
parentb365c65216459eeeefa549c61344ed6107d612c8 (diff)
downloadmongo-fab8bda84690299be8cce769309f4711484b3508.tar.gz
SERVER-32776 ReplicationCoordinator::prepareReplMetadata no longer requires OperationContext
The OperationContext was previously used to retrieve the rollback ID from the ReplicationProcess.
Diffstat (limited to 'src/mongo/db/service_entry_point_mongod.cpp')
-rw-r--r--src/mongo/db/service_entry_point_mongod.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/service_entry_point_mongod.cpp b/src/mongo/db/service_entry_point_mongod.cpp
index 69235c1e0c5..9dd7f9f8771 100644
--- a/src/mongo/db/service_entry_point_mongod.cpp
+++ b/src/mongo/db/service_entry_point_mongod.cpp
@@ -272,7 +272,7 @@ void appendReplyMetadata(OperationContext* opCtx,
// Attach our own last opTime.
repl::OpTime lastOpTimeFromClient =
repl::ReplClientInfo::forClient(opCtx->getClient()).getLastOp();
- replCoord->prepareReplMetadata(opCtx, request.body, lastOpTimeFromClient, metadataBob);
+ replCoord->prepareReplMetadata(request.body, lastOpTimeFromClient, metadataBob);
// For commands from mongos, append some info to help getLastError(w) work.
// TODO: refactor out of here as part of SERVER-18236
if (isShardingAware || isConfig) {