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

Pass correct SerializationContext objs into command replies

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.1.0-rc0
    • None
    • None
    • Fully Compatible
    • Server Serverless 2023-05-15
    • 3

    Description

      IDL command replies currently construct their own generic Command Reply serialization context objects, but these do not reflect the flags retrieved during Command Request parsing.  Since Command Reply serialization highly depends on these flags, we need a way to construct new Command Reply serialization context objects, while ensuring they retain flags gained during deserialization.

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: