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

Refactor RecordStore::ns to return a NamespaceString object

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

      WiredTigerRecordStore::ns is currently returning a string after we serialize from a string.

      That returned string object from `ns()` is then used for logging purposes.

      We should refactor the method to return a NamespaceString object directly and then use `toStringForLogging` or `toStringForErrorMessage` when needed.

       

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

              Created:
              Updated:
              Resolved: