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

Change high level interface function of sharding code to take in DatabaseName instead of string db

    • Type: Icon: Task Task
    • Resolution: Won't Do
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Serverless

      In this ticket, we will change high level interface function of sharding code to take in DatabaseName instead of string db.

      • the function is a high level interface function
      • if we already have nss or DatabaseName object in its call sites, we need to change it.
      • Otherwise, if this function is called from non-shard code, we also need to change it.
        for example, the `ScopedBaseDDLLock` and `executeCommandAgainstDatabasePrimary` function should be changed.

      We will not change the low level functions of sharding code (eg, `logEnableSharding`) in this ticket.

            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:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: