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

Make ReplicationCoordinator::runCmdOnPrimaryAndAwaitResponse use DatabaseName obj

    • Type: Icon: Task Task
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Serverless

      The `ReplicationCoordinator::runCmdOnPrimaryAndAwaitResponse` is using `std::string& dbName`. This code works correctly as all call sites pass in global dbs instead of tenant dbs. We do not need to worry. But, as we decide to pass db name with `DatabaseName` across the code base,  we need to change this function to use `DatabaseName` object.

       

            Assignee:
            backlog-server-serverless [DO NOT USE] Backlog - Server Serverless (Inactive)
            Reporter:
            sophia.tan@mongodb.com Sophia Tan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: