@Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("ReplicaMetadataRequest[");
    for (ReplicaMetadataRequestInfo replicaMetadataRequestInfo : replicaMetadataRequestInfoList) {
      sb.append(replicaMetadataRequestInfo.toString());
    }
    sb.append(", ").append("maxTotalSizeOfEntriesInBytes=").append(maxTotalSizeOfEntriesInBytes);
    sb.append(", ").append("ClientId=").append(clientId);
    sb.append(", ").append("CorrelationId=").append(correlationId);
    sb.append("]");
    return sb.toString();
  }
Replica metadata request to get new entries for replication
ambry-protocol/src/main/java/com/github/ambry/protocol/ReplicaMetadataRequest.java