diff options
author | matt dannenberg <matt.dannenberg@10gen.com> | 2015-07-15 08:21:17 -0400 |
---|---|---|
committer | matt dannenberg <matt.dannenberg@10gen.com> | 2015-07-19 12:31:08 -0400 |
commit | 3b758994b8922dc99aa891d0b6c5a5ddcbc91307 (patch) | |
tree | 999bc8eace91c2c4b55b00d08569d49665d408b2 /src/mongo/db/dbcommands.cpp | |
parent | 77fca2a0807644a093c08619ff8ac99f22516f25 (diff) | |
download | mongo-3b758994b8922dc99aa891d0b6c5a5ddcbc91307.tar.gz |
SERVER-19205 change all ReadAfterOpTime objects to be ReadConcern objects
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()) |