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

Rely only on `getDatabaseVersion` to get the cached database version from MongoS

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • Catalog and Routing

    Description

      The `getShardVersion` command exposed by the MongoS can be used to get the cached version of a given database. Nevertheless, in the context of the MongoS interface parity initiative, starting from version 7.1, the MongoS also exposes the `getDatabaseVersion` command (SERVER-80417).

      The goal of this ticket is to get rid from tests of the use of the `getShardVersion` command and rely only on `getDatabaseVersion` to get the cached database version from both MongoS and MongoD (interface parity).

      This can be implemented once version 8.0 becomes last LTS.

      Attachments

        Activity

          People

            backlog-server-catalog-and-routing Backlog - Catalog and Routing
            antonio.fuschetto@mongodb.com Antonio Fuschetto
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: