summaryrefslogtreecommitdiff
path: root/src/mongo/db/index/index_access_method.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/index/index_access_method.h')
-rw-r--r--src/mongo/db/index/index_access_method.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mongo/db/index/index_access_method.h b/src/mongo/db/index/index_access_method.h
index df62c4ae937..ea9ea90c71c 100644
--- a/src/mongo/db/index/index_access_method.h
+++ b/src/mongo/db/index/index_access_method.h
@@ -28,6 +28,7 @@
#pragma once
+#include <atomic>
#include <memory>
#include "mongo/base/disallow_copying.h"
@@ -40,6 +41,8 @@
namespace mongo {
+extern std::atomic<bool> failIndexKeyTooLong; // NOLINT
+
class BSONObjBuilder;
class MatchExpression;
class UpdateTicket;