code: void updateReplicas(int partitionId, PartitionReplica[] replicas) {
          InternalPartitionImpl partition = partitions[partitionId];
          partition.setReplicas(replicas);
      }
docs: Sets the replica members for the {@code partitionId}.