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

Change ErrmsgCommandDeprecated::errmsgRun to use DatabaseName obj

    • 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-08-21

      Many sharding command classes override the `ErrmsgCommandDeprecated::errmsgRun` function which takes in a db string instead of a `DatabaseName` object. In the call site of this function, the code serializes a `DatabaseName` object to string. Soon after this, in the override function of some classes, the string is deserialized back to a `DatabaseName` object. It wastes the time. 

      In this ticket,  we will change the function definition to take in `DatabaseName` object.

            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: