Details
-
Task
-
Resolution: Unresolved
-
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.