Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-95388

Allow wiredtiger dump configurations to be passed into verify() call on the mongodb layer

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • 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
         }
      )
      

            Assignee:
            nic.hollingum@mongodb.com Nic Hollingum
            Reporter:
            jie.chen@mongodb.com Jie Chen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: