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

Serialize and deserialize namespace in cursor reply objects correctly in multitenant environment

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 6.2.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • Server Serverless 2022-10-17, Server Serverless 2022-10-31

    Description

      Deserialize:
      We'll need to pass the tenantId into the IDLParserContext when parsing CursorInitialReply and CursorGetMoreReply (in getmore_cmd.cpp).

      We'll have to change ValidateCursorResponse and validateResult to take in a tenantId.

      Serialize:
      We'll need to change the calls to nss.ns() in the find command to use NamespaceStringUtil::serialize - here and here.

      Attachments

        Activity

          People

            janna.golden@mongodb.com Janna Golden
            janna.golden@mongodb.com Janna Golden
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: