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

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Won't Do
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • Serverless

    Description

      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.

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

            Dates

              Created:
              Updated:
              Resolved: