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

Change DbClient runCommandWithTarget to take in a DatabaseName object

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Server Serverless 2023-02-20, Server Serverless 2023-03-06
    • 49
    • 3

      In this ticket, we will do the following things:

      • Change the DbClient runCommandWithTarget to take in DatabaseName object.
      • In runCommandWithTarget function, we should create opMsgRquest with "$tenant" if our project feature flag is enabled.
      • Refactor the DbClient functions which have "appendDollarTenant" as parameter. This parameter is used by bench run to indicate db client should always append "$tenant" without caring our project's feature flag.

            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: