From 3b758994b8922dc99aa891d0b6c5a5ddcbc91307 Mon Sep 17 00:00:00 2001 From: matt dannenberg Date: Wed, 15 Jul 2015 08:21:17 -0400 Subject: SERVER-19205 change all ReadAfterOpTime objects to be ReadConcern objects --- src/mongo/db/dbcommands.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/mongo/db/dbcommands.cpp') diff --git a/src/mongo/db/dbcommands.cpp b/src/mongo/db/dbcommands.cpp index e65f249a66f..61f57fc6283 100644 --- a/src/mongo/db/dbcommands.cpp +++ b/src/mongo/db/dbcommands.cpp @@ -78,8 +78,8 @@ #include "mongo/db/query/query_planner.h" #include "mongo/db/repair_database.h" #include "mongo/db/repl/optime.h" -#include "mongo/db/repl/read_after_optime_args.h" -#include "mongo/db/repl/read_after_optime_response.h" +#include "mongo/db/repl/read_concern_args.h" +#include "mongo/db/repl/read_concern_response.h" #include "mongo/db/repl/repl_client_info.h" #include "mongo/db/repl/repl_settings.h" #include "mongo/db/repl/replication_coordinator_global.h" @@ -1278,7 +1278,7 @@ bool Command::run(OperationContext* txn, repl::ReplicationCoordinator* replCoord = repl::getGlobalReplicationCoordinator(); { // Handle read after opTime. - repl::ReadAfterOpTimeArgs readAfterOptimeSettings; + repl::ReadConcernArgs readAfterOptimeSettings; auto readAfterParseStatus = readAfterOptimeSettings.initialize(request.getCommandArgs()); if (!readAfterParseStatus.isOK()) { replyBuilder->setMetadata(rpc::makeEmptyMetadata()) -- cgit v1.2.1