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

Create a DatabaseName serialize function for serialization db without tenant prefix

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

      We are making the DatabaseName::db() private to avoid developers dropping tenant prefix when the tenant prefix is actually required in some use cases. But, there still are some use cases in which tenant prefix is not required, for example:

      • the OpMsgRequest should has non prefixed db name if there is "$tenant" in msg body.
      • the change stream events.
      • the internal created BSON object for parsing command request with IDLParserContext and known tenant id.
      • document source lookup output.

            Assignee:
            sophia.tan@mongodb.com Sophia Tan
            Reporter:
            sophia.tan@mongodb.com Sophia Tan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: