Generalize BSONObj traversal code from bson validate

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Storage Execution
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

              Assignee:
              [DO NOT USE] Backlog - Storage Execution Team
              Reporter:
              Henrik Edin
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated: