public Map<StoreKey, StoreKey> createConversionKeyMap(File[] replicas,
      Map<File, DumpIndexTool.IndexProcessingResults> results) throws Exception {
    Set<StoreKey> storeKeys = new HashSet<>();
    for (File replica : replicas) {
      DumpIndexTool.IndexProcessingResults result = results.get(replica);
      for (Map.Entry<StoreKey, DumpIndexTool.Info> entry : result.getKeyToState().entrySet()) {
        storeKeys.add(entry.getKey());
      }
    }
    logger.info("Converting {} store keys...", storeKeys.size());
    storeKeyConverter.dropCache();
    Map<StoreKey, StoreKey> ans = storeKeyConverter.convert(storeKeys);
    logger.info("Store keys converted!");
    return ans;
  }
Takes all the StoreKeys from the file replicas and runs them
through the StoreKeyConverter in a batch operation
@param replicas An Array of replica directories from which blobIds need to be collected
@param results the results of processing the indexes of the given {@code replicas}.
@return mapping of original keys to converted keys.  If there's no converted equivalent
the value will be the same as the key.
@throws Exception
ambry-tools/src/main/java/com/github/ambry/store/DumpIndexTool.java