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

Allow comparing JS objects over 16MB with BSON comparison functions

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Query Execution

      Currently we expose useful BSON comparison functions in mongo shell that can be used on JavaScript objects:

      • bsonWoCompare()
      • bsonUnorderedFieldsCompare()
      • bsonBinaryEqual()

      All functions perform JS -> BSON translation, which fails if object size exceeds 16MB.

      I would argue this limitation can be lifted here, because the functions do not store objects in the database.

            Assignee:
            backlog-query-execution [DO NOT USE] Backlog - Query Execution
            Reporter:
            romans.kasperovics@mongodb.com Romans Kasperovics
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: