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

Replace usages of getShardVersion for getShardPlacementVersion

    • Type: Icon: Task Task
    • Resolution: Won't Do
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Sharding EMEA

      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.

            Assignee:
            backlog-server-sharding-emea [DO NOT USE] Backlog - Sharding EMEA
            Reporter:
            marcos.grillo@mongodb.com Marcos José Grillo Ramirez
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: