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

Pass SerializationContext obj into CursorResponseBuilder

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.0.0-rc3
    • None
    • None
    • Fully Compatible
    • Server Serverless 2023-05-29, Server Serverless 2023-06-12
    • 3

    Description

      CursorResponseBuilder::done() and CursorResponseBuilder::appendCursorResponseObject() build responses with a NamespaceString field that calls `NamespaceStringUtil::serialze()`, which will depend on a `SerializationContext` object to specify serialization behavior.  We need to pass the `SerializationContext` object down the layers in order to have `done()`  and `appendCursorResponseObject()` serialize correctly.

      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: