Remove dependency on splitMatchByModifiedFields for change stream rewrites

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 5.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • QE 2021-09-06
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      To avoid the limitations of splitMatchByModifiedFields for $expr expressions, we can instead simply copy the full user $match and rewrite the entire tree. Return nullptr for a predicate/expression if the associated field is not in the set of fields to be rewritten OR not in the set of fields for which a rewrite exists.

            Assignee:
            Justin Seyster
            Reporter:
            Bernard Gorman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: