@Override
  public boolean removeBlobStore(PartitionId id) throws IOException, StoreException {
    DiskManager diskManager = partitionToDiskManager.remove(id);
    if (diskManager == null) {
      logger.info("Store {} is not found in storage manager", id);
      return false;
    }
    if (!diskManager.removeBlobStore(id)) {
      logger.error("Fail to remove store {} from disk manager", id);
      return false;
    }
    logger.info("Store {} is successfully removed from storage manager", id);
    return true;
  }
If a bootstrap replica fails, try to remove all the files and directories associated with it.
@param replica The failed bootstrap {@link ReplicaId}.
ambry-store/src/main/java/com/github/ambry/store/StorageManager.java