diff options
author | Nick Zolnierz <nicholas.zolnierz@mongodb.com> | 2019-01-12 09:54:35 -0500 |
---|---|---|
committer | Nick Zolnierz <nicholas.zolnierz@mongodb.com> | 2019-01-14 16:03:53 -0500 |
commit | f99c8d913706efc48d3b41672eebbb6166e1680b (patch) | |
tree | ffc766e2fcaae87a5cd771acfea10451e1ac2007 /src/mongo/db/curop_failpoint_helpers.h | |
parent | ddb5d16aa7a5854d326bff0b6d094b33f1b662b5 (diff) | |
download | mongo-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.h | 3 |
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); }; } |