void tryRemoveFailedBootstrapBlobStore(ReplicaId replica) {
    // replica would most likely fail due to disk space requirement, here we have to remove this replica like it's
    // an unexpected directory
    String partitionName = replica.getPartitionId().toPathString();
    try {
      String replicaPath = replica.getReplicaPath();
      logger.info("Removing replica path {}", replicaPath);
      Utils.deleteFileOrDirectory(new File(replicaPath));
      diskSpaceAllocator.deleteAllSegmentsForStoreIds(Collections.singletonList(partitionName));
    } catch (Exception e) {
      logger.error("Failed to delete directories for failed blob store {}", partitionName, e);
    }
  }
Try to clean up the remaining files and directories for a failed bootstrap replica.
@param replica The failed bootstrap {@link ReplicaId}.
ambry-store/src/main/java/com/github/ambry/store/DiskManager.java