docs: private long[] updatePartitionReplicaVersions(PartitionReplicaManager replicaManager, int partitionId,
                                                    ServiceNamespace namespace, int replicaIndex) {
          long[] versions = replicaManager.getPartitionReplicaVersions(partitionId, namespace);
          // No need to set versions back right now. actual version array is modified directly.
          Arrays.fill(versions, 0, replicaIndex, 0);
  
          return versions;
      }