diff options
Diffstat (limited to 'src/mongo/db/dbcommands.cpp')
-rw-r--r-- | src/mongo/db/dbcommands.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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()) |