summaryrefslogtreecommitdiff
path: root/src/mongo/db/query/plan_executor_impl.cpp
diff options
context:
space:
mode:
authorMartin Neupauer <xmaton@messengeruser.com>2021-04-09 10:05:06 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-04-12 15:14:32 +0000
commitd35e2a364d8ae1f71fbdf0077d918f5e1e3cdf16 (patch)
treea20be2dd21328ada4f92b250be489f7496efef56 /src/mongo/db/query/plan_executor_impl.cpp
parent51f12959638ce75792baf063bc8150448b9e9a35 (diff)
downloadmongo-d35e2a364d8ae1f71fbdf0077d918f5e1e3cdf16.tar.gz
SERVER-55670 [SBE][replica_sets] Timed out on waitForFailPoint in
sync_source_enters_quiesce_mode.js Check the failpoint from the SBE executor.
Diffstat (limited to 'src/mongo/db/query/plan_executor_impl.cpp')
-rw-r--r--src/mongo/db/query/plan_executor_impl.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mongo/db/query/plan_executor_impl.cpp b/src/mongo/db/query/plan_executor_impl.cpp
index 7c5f5dd4871..e6378ae3177 100644
--- a/src/mongo/db/query/plan_executor_impl.cpp
+++ b/src/mongo/db/query/plan_executor_impl.cpp
@@ -76,10 +76,12 @@ using std::vector;
const OperationContext::Decoration<repl::OpTime> clientsLastKnownCommittedOpTime =
OperationContext::declareDecoration<repl::OpTime>();
-namespace {
-
+// This failpoint is also accessed by the SBE executor so we define it outside of an anonymous
+// namespace.
MONGO_FAIL_POINT_DEFINE(planExecutorHangBeforeShouldWaitForInserts);
+namespace {
+
/**
* Constructs a PlanYieldPolicy based on 'policy'.
*/