code: func (n *BuilderNode) ReplicaPartitions(replica int) []int {
  	n.builder.ring.FillReplicaToNodeToPartitions()
  	partitions := make([]int, len(n.builder.ring.ReplicaToNodeToPartitions[replica][n.index]))
  	for i, partition := range n.builder.ring.ReplicaToNodeToPartitions[replica][n.index] {
  		partitions[i] = int(partition)
  	}
  	return partitions
  }
docs: // ReplicaPartitions returns the list of partitions assigned to this node for
  // the given replica; the list will be in ascending order with no duplicates.