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

Make CursorResponse serialize / deserialize the namespace properly

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Server Serverless 2022-12-12, Server Serverless 2022-12-26
    • 2

      We currently do not serialize properly the namespace for the CursorResponse object.

      We need to make use of the NamespaceStringUtil::serialize everywhere we parse the NamespaceString in order not to drop the tenantId prefix from a namespace.

      There is the cursor_response_test.cpp file that can be used to test the changes. We can look at the roundTripThroughCursorResponseBuilderWithPartialResultsReturned for inspiration on how to test this.

            Assignee:
            hugh.tong@mongodb.com Hugh Tong (Inactive)
            Reporter:
            mathis.bessa@mongodb.com Mathis Bessa (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: