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

Remove dependency on splitMatchByModifiedFields for change stream rewrites

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 5.1.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • QE 2021-09-06

    Description

      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.

      Attachments

        Activity

          People

            justin.seyster@mongodb.com Justin Seyster
            bernard.gorman@mongodb.com Bernard Gorman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: