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

Make ReplicationCoordinator::runCmdOnPrimaryAndAwaitResponse use DatabaseName obj

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • Serverless

    Description

      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.

       

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: