-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
RSS Sydney
-
Fully Compatible
-
Party@Gregs - 2024-11-12, TeamTummy - 2024-11-26
From the storage engine's perspective, we see that verify call() is used within the validate() MongoDB function call. Unfortunately looking at the MongoDB code there is no debugging information when the verify fails or there is an inefficiency within the btree structure layout. For debugging purposes, it would be benefit to be able to add in WiredTiger configuration parameters to provide more information around the btree structure. Ideally, this is configurable through the runCommand().
db.runCommand( { validate: <string>, // Collection name full: <boolean>, // Optional repair: <boolean>, // Optional, added in MongoDB 5.0 metadata: <boolean>, // Optional, added in MongoDB 5.0.4 checkBSONConformance: <boolean> // Optional, added in MongoDB 6.2 } )