summaryrefslogtreecommitdiff
path: root/src/mongo/db/catalog/multi_index_block.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/catalog/multi_index_block.h')
-rw-r--r--src/mongo/db/catalog/multi_index_block.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mongo/db/catalog/multi_index_block.h b/src/mongo/db/catalog/multi_index_block.h
index 7b1b1d3e86c..7d5279280cd 100644
--- a/src/mongo/db/catalog/multi_index_block.h
+++ b/src/mongo/db/catalog/multi_index_block.h
@@ -339,6 +339,9 @@ private:
// incorrect state set anywhere.
bool _buildIsCleanedUp = true;
+ // Duplicate key constraints should be checked at least once in the MultiIndexBlock.
+ bool _constraintsChecked = false;
+
// Protects member variables of this class declared below.
mutable stdx::mutex _mutex;