Map<StoreKey, StoreKey> batchConvertReplicaMetadataResponseKeys(ReplicaMetadataResponse response, List<StoreKey> storeKeysConversionLog) throws Exception {
    List<StoreKey> storeKeysToConvert = new ArrayList<>();
    for (ReplicaMetadataResponseInfo replicaMetadataResponseInfo : response.getReplicaMetadataResponseInfoList()) {
      if ((replicaMetadataResponseInfo.getError() == ServerErrorCode.NoError) && (
          replicaMetadataResponseInfo.getMessageInfoList() != null)) {
        for (MessageInfo messageInfo : replicaMetadataResponseInfo.getMessageInfoList()) {
          storeKeysToConvert.add(messageInfo.getStoreKey());
        }
      }
    }
    return convertStoreKeys(storeKeysToConvert, storeKeysConversionLog);
  }
Batch converts all keys in the {@link ReplicaMetadataResponse} response.
Intention is that conversion is done all at once so that followup calls to
{@link StoreKeyConverter#getConverted(StoreKey)} will work
@param response the {@link ReplicaMetadataResponse} whose keys will be converted
@param storeKeysConversionLog list to store storeKeys that were converted
@return the map from the {@link StoreKeyConverter#convert(Collection)} call
@throws IOException thrown if {@link StoreKeyConverter#convert(Collection)} fails
ambry-replication/src/main/java/com/github/ambry/replication/ReplicaThread.java