private void populateReplicaList(List<Pair<Integer, ReplicaState>> replicaStateCountPairList) {
    for (Pair<Integer, ReplicaState> replicaStateCountPair : replicaStateCountPairList) {
      populateReplicaList(replicaStateCountPair.getFirst(), replicaStateCountPair.getSecond(), datanodes);
    }
  }
Populate replicas for a partition.
@param replicaStateCountPairList {@link List} of {@link Pair} of count of replicas of specified {@link ReplicaState}.
ambry-router/src/test/java/com/github/ambry/router/OperationTrackerTest.java