Create a DatabaseName serialize function for serialization db without tenant prefix

XMLWordPrintableJSON

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

      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 (Inactive)
            Reporter:
            Sophia Tan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: