summaryrefslogtreecommitdiff
path: root/src/mongo/db/curop_failpoint_helpers.h
diff options
context:
space:
mode:
authorNick Zolnierz <nicholas.zolnierz@mongodb.com>2019-01-12 09:54:35 -0500
committerNick Zolnierz <nicholas.zolnierz@mongodb.com>2019-01-14 16:03:53 -0500
commitf99c8d913706efc48d3b41672eebbb6166e1680b (patch)
treeffc766e2fcaae87a5cd771acfea10451e1ac2007 /src/mongo/db/curop_failpoint_helpers.h
parentddb5d16aa7a5854d326bff0b6d094b33f1b662b5 (diff)
downloadmongo-f99c8d913706efc48d3b41672eebbb6166e1680b.tar.gz
SERVER-38191 Enforce restriction on namespace for failpoints in write_ops
This reverts commit d19bd0c883a338e4f443399c928700381c682e32.
Diffstat (limited to 'src/mongo/db/curop_failpoint_helpers.h')
-rw-r--r--src/mongo/db/curop_failpoint_helpers.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/db/curop_failpoint_helpers.h b/src/mongo/db/curop_failpoint_helpers.h
index acdf01b9889..84f15caecb1 100644
--- a/src/mongo/db/curop_failpoint_helpers.h
+++ b/src/mongo/db/curop_failpoint_helpers.h
@@ -55,6 +55,7 @@ public:
OperationContext* opCtx,
const std::string& curOpMsg,
const std::function<void(void)>& whileWaiting = nullptr,
- bool checkForInterrupt = false);
+ bool checkForInterrupt = false,
+ boost::optional<NamespaceString> nss = boost::none);
};
}