summaryrefslogtreecommitdiff
path: root/src/mongo/db/curop_failpoint_helpers.h
diff options
context:
space:
mode:
authorNick Zolnierz <nicholas.zolnierz@mongodb.com>2019-01-11 18:22:37 -0500
committerNick Zolnierz <nicholas.zolnierz@mongodb.com>2019-01-11 18:27:35 -0500
commit587ad0e175cb501e378f4aeaf37199dbb28dd011 (patch)
treef3ffab15d358d9ef9559e570ce26e9da14ea376f /src/mongo/db/curop_failpoint_helpers.h
parent1006d88b7522a11ed34ba1a751678ea7f7637754 (diff)
downloadmongo-587ad0e175cb501e378f4aeaf37199dbb28dd011.tar.gz
SERVER-38191 Enforce restriction on namespace for failpoints in write_ops
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);
};
}