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

Copy SerializationContext between requests for views on agg

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Fully Compatible
    • Server Serverless 2023-05-15
    • 1

      When aggregation has a view, it will attempt to resolve that view onto the base collection, and create a new agg command request based on the resolved namespace.  However, this loses the serialization flags on the existing request that can cause serialization issues, so we need to copy the serialization context object over to the new request at the point of creation.

      As the goal of these changes are in pursuit of fixing tests that will fail once serializeForCommands and deserializeForCommands are plumbed in, no new tests are being added for this ticket.

            Assignee:
            hugh.tong@mongodb.com Hugh Tong (Inactive)
            Reporter:
            hugh.tong@mongodb.com Hugh Tong (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: