summaryrefslogtreecommitdiff
path: root/src/mongo/db
diff options
context:
space:
mode:
authorJason Chan <jason.chan@10gen.com>2019-07-17 17:35:05 -0400
committerJason Chan <jason.chan@10gen.com>2019-07-17 17:35:05 -0400
commit53e25a0c588a4256a73589ca777cfc4b436d544c (patch)
tree828e6fc4e7a19b026c6b97ae85eb576df39fc510 /src/mongo/db
parentff31e4391df93b9186bee6366e194c08173fd1c7 (diff)
downloadmongo-failpoint_sync.tar.gz
wrap condition variable waitForConditionOrInterruptNoAssertUntilfailpoint_sync
Diffstat (limited to 'src/mongo/db')
-rw-r--r--src/mongo/db/commands/fail_point_cmd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/commands/fail_point_cmd.cpp b/src/mongo/db/commands/fail_point_cmd.cpp
index 408a5857470..bd69c2f52c9 100644
--- a/src/mongo/db/commands/fail_point_cmd.cpp
+++ b/src/mongo/db/commands/fail_point_cmd.cpp
@@ -99,7 +99,7 @@ public:
const std::string failPointName(cmdObj.firstElement().str());
if (failPointName == "now" && cmdObj.hasField("sync"))
- syncNow(cmdObj);
+ syncNow(opCtx, cmdObj);
else
setGlobalFailPoint(failPointName, cmdObj);