void deleteAllSegmentsForStoreIds(List<String> storeIds) throws IOException {
    for (String storeId : storeIds) {
      // remove store reserve dir from in-mem data structure and then delete whole directory
      storeReserveFiles.remove(storeId);
      File storeReserveDir = new File(reserveDir, STORE_DIR_PREFIX + storeId);
      logger.info("Deleting reserve store dir: {}", storeReserveDir.getAbsolutePath());
      Utils.deleteFileOrDirectory(storeReserveDir);
    }
  }
Delete all the unneeded segments associated with stores that are being removed from current node.
@param storeIds a list of store ids whose reserved segments should be deleted.
@throws IOException
ambry-store/src/main/java/com/github/ambry/store/DiskSpaceAllocator.java