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

Update FLE2 to ensure BSONObj ownership

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0, 8.0.0-rc5
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Optimization
    • Fully Compatible
    • v8.0

      To reduce the overheads of copying BSONObj into MatchExpressions, we aim to remove the _backingBSON from the MatchExpression. The MatchExpression will compare against a reference of an already existing BSONObj which survives the query. 

      Removing _backingBSON, this generates errors in src/mongo/db/modules/enterprise/jstests/fle2/query/range/one_sided_find.js
      src/mongo/db/modules/enterprise/jstests/fle2/query/range/trim_factor.js
      src/mongo/db/modules/enterprise/jstests/fle2/query/range/two_sided_agg.js
      src/mongo/db/modules/enterprise/jstests/fle2/query/range/two_sided_find.js
      src/mongo/db/modules/enterprise/jstests/fle2/range_precision.js

      e..g, patch

      This ticket shall address those errors.

            Assignee:
            william.qian@mongodb.com William Qian
            Reporter:
            matt.olma@mongodb.com Matt Olma
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: