Replace NamespaceString::db() with NamespaceString::db_deprecated()

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 7.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Server Serverless 2023-07-24, Server Serverless 2023-08-07
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      In an effort to finish SERVER-65456 we will replace all calls to `NamespaceString::db()` with `NamespaceString::db_deprecated()`.

      This will help enforcing as soon as possible that any developer will be using the appropriate `NamespaceString::dbName()` method when needed.

      In case of serialization we should indicate as part of a comment that `DatabaseNameUtil::serialization(nss.dbName())` can be an alternative

            Assignee:
            Mathis Bessa (Inactive)
            Reporter:
            Mathis Bessa (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: