Deduplicate code which manages backing BSON objects for MatchExpressions

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Won't Do
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Query Optimization
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      As of SERVER-48790, MatchExpressions will no longer hold references to the original BSON. There are several pieces of code that have workarounds due to this:

      • The FLE analysis code which replaces the RHS of such expressions no longer needs to ensure that any BSONElements point to valid BSON.
      • RewriteExpr
      • Matcher class

            Assignee:
            [DO NOT USE] Backlog - Query Optimization
            Reporter:
            Nicholas Zolnierz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: