Update lookup foreign collation to ensure BSONObj ownership

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Gone away
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Optimization
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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 jstests/aggregation/sources/lookup/lookup_foreign_collation.js

      e..g, patch

      This ticket shall address those errors.

            Assignee:
            Nicholas Zolnierz
            Reporter:
            Matt Olma
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: