summaryrefslogtreecommitdiff
path: root/src/mongo/db/service_entry_point_common.h
diff options
context:
space:
mode:
authorSuganthi Mani <suganthi.mani@mongodb.com>2019-08-26 15:03:15 +0000
committerevergreen <evergreen@mongodb.com>2019-08-26 15:03:15 +0000
commit4197e3c394abea7d01084e035a6ce8af32dc1161 (patch)
treeee85e3dd0724a1d4384b893d082a35d28c236ee7 /src/mongo/db/service_entry_point_common.h
parentaaa9874e04dbc2a4a33aeb7bfad9bee60f7145e0 (diff)
downloadmongo-4197e3c394abea7d01084e035a6ce8af32dc1161.tar.gz
SERVER-39996 Moved setting ignorePrepared behavior outside of waitForReadConcern.
Diffstat (limited to 'src/mongo/db/service_entry_point_common.h')
-rw-r--r--src/mongo/db/service_entry_point_common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mongo/db/service_entry_point_common.h b/src/mongo/db/service_entry_point_common.h
index 60fb5f9e2cb..87a6c178588 100644
--- a/src/mongo/db/service_entry_point_common.h
+++ b/src/mongo/db/service_entry_point_common.h
@@ -60,6 +60,8 @@ struct ServiceEntryPointCommon {
public:
virtual ~Hooks();
virtual bool lockedForWriting() const = 0;
+ virtual void setPrepareConflictBehaviorForReadConcern(
+ OperationContext* opCtx, const CommandInvocation* invocation) const = 0;
virtual void waitForReadConcern(OperationContext* opCtx,
const CommandInvocation* invocation,
const OpMsgRequest& request) const = 0;