summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregory Wlodarek <gregory.wlodarek@mongodb.com>2023-02-08 05:01:23 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2023-02-10 20:45:47 +0000
commitced7b068621e891bbcdefc60ad88cd0996f00606 (patch)
treec54772e1f59d7f2478ad2f75a2de1bdc3439b0a1
parent619ab6338daf72df706200f06c95bd06ba2b9b5f (diff)
downloadmongo-ced7b068621e891bbcdefc60ad88cd0996f00606.tar.gz
SERVER-73745 Zero initialize IndexKeyBucket struct
(cherry picked from commit ceb331a7471e03038f72d9ba7d9d3ac9f9d80ada)
-rw-r--r--src/mongo/db/catalog/index_consistency.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/catalog/index_consistency.h b/src/mongo/db/catalog/index_consistency.h
index f873e83addf..0fe2dc1818b 100644
--- a/src/mongo/db/catalog/index_consistency.h
+++ b/src/mongo/db/catalog/index_consistency.h
@@ -114,8 +114,8 @@ public:
protected:
struct IndexKeyBucket {
- uint32_t indexKeyCount;
- uint32_t bucketSizeBytes;
+ uint32_t indexKeyCount = 0;
+ uint32_t bucketSizeBytes = 0;
};
CollectionValidation::ValidateState* _validateState;