diff options
author | Louis Williams <louis.williams@mongodb.com> | 2019-03-26 16:10:05 -0400 |
---|---|---|
committer | Louis Williams <louis.williams@mongodb.com> | 2019-03-26 16:10:05 -0400 |
commit | 31a26cdd8900471c1bc9a934e8d4c16d06f611a3 (patch) | |
tree | b6679fd95dc56e8ae155aef2d58245bc3dbfc24e /src/mongo/embedded/read_concern_embedded.cpp | |
parent | aaa404d9d7e56a1d327f72e505f4e67b4a821959 (diff) | |
download | mongo-31a26cdd8900471c1bc9a934e8d4c16d06f611a3.tar.gz |
SERVER-40227 Pass ignore prepare behavior from a command attribute rather than using a whitelist
Diffstat (limited to 'src/mongo/embedded/read_concern_embedded.cpp')
-rw-r--r-- | src/mongo/embedded/read_concern_embedded.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/embedded/read_concern_embedded.cpp b/src/mongo/embedded/read_concern_embedded.cpp index baa683c7dfa..f8e367d0b74 100644 --- a/src/mongo/embedded/read_concern_embedded.cpp +++ b/src/mongo/embedded/read_concern_embedded.cpp @@ -37,7 +37,7 @@ MONGO_REGISTER_SHIM(waitForReadConcern) (OperationContext* opCtx, const repl::ReadConcernArgs& readConcernArgs, bool allowAfterClusterTime, - StringData cmdName) + PrepareConflictBehavior prepareConflictBehavior) ->Status { if (readConcernArgs.getLevel() == repl::ReadConcernLevel::kLinearizableReadConcern) { return {ErrorCodes::NotImplemented, "linearizable read concern not supported on embedded"}; |