-
Type:
Task
-
Resolution: Won't Do
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Sharding EMEA
-
None
-
3
-
None
-
None
-
None
-
None
-
None
-
None
After the changes of PM-2583 the shard version is now a more generalized concept, containing the placement version and the index version. This meant the rename of several usages so classes and functions can match the intent. Considering that these changes won't actually take effect until SERVER-60628 is committed, it didn't made sense to change all usages of getShardVersion at that time, because there is a getShardVersion command running in routers, and they are FCV agnostic, which would cause multiversion testing problems. So the best solution was to provide a new command called getShardPlacementVersion with the appropriate names, and wait until PM-2852 to deprecate the getShardVersion command.
The purpose of this ticket is to change the usages of the getShardVersion command for getShardPlacementVersion in the code base, and deprecate getShardVersion.