boolean loadInitializedBlobStore(ReplicaId replica) {
    rwLock.writeLock().lock();
    boolean succeed = false;
    try {
      if (!running) {
        logger.error("Failed to add {} because disk manager is not running", replica.getPartitionId());
      } else {
        BlobStore store = stores.get(replica.getPartitionId());
        store.load();
        // add store into CompactionManager
        compactionManager.addBlobStore(store);

        // create a bootstrap-in-progress file to distinguish it from regular stores (the file will be checked during
        // BOOTSTRAP -> STANDBY transition)
        createBootstrapFileIfAbsent(replica);
        logger.info("New store is successfully added into DiskManager for partitionId {}.", replica.getPartitionId());
        succeed = true;
      }
    } catch (Exception e) {
      stores.remove(replica.getPartitionId());
      partitionToReplicaMap.remove(replica.getPartitionId());
      logger.error("Failed to load new added store {} or add requirements to disk allocator", replica.getPartitionId(),
          e);
    } finally {
      rwLock.writeLock().unlock();
    }
    return succeed;
  }
Loads the initialized Blobstore and starts it for given {@link ReplicaId}
@param replica {{@link ReplicaId}
@return {@code true} if loading succeeds {@code false} otherwise.
ambry-store/src/main/java/com/github/ambry/store/DiskManager.java