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

Generalize BSONObj traversal code from bson validate

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • Storage Execution

    Description

      The BSON traversal code used by bson validate is written with performance in mind to allow for high throughput.

      If we separate the code for traversing the binary and validating it (while still maintaining inlining/performance for validate) it should allow us to write custom validate functions that can be used to scan BSON binaries in an efficient way.

      It could be used to implement storage_validation::storageValid for example.

      Attachments

        Activity

          People

            backlog-server-execution Backlog - Storage Execution Team
            henrik.edin@mongodb.com Henrik Edin
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated: