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

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • Fully Compatible
    • CAR Team 2024-11-25, CAR Team 2024-12-23
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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 of 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 the last LTS.

            Assignee:
            Antonio Fuschetto
            Reporter:
            Antonio Fuschetto
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: