@Override
  public ServerErrorCode checkLocalPartitionStatus(PartitionId partition, ReplicaId localReplica) {
    if (getStore(partition) == null) {
      if (localReplica != null) {
        // check stores on the disk
        if (!isDiskAvailable(localReplica.getDiskId())) {
          return ServerErrorCode.DiskUnavailable;
        } else {
          return ServerErrorCode.ReplicaUnavailable;
        }
      } else {
        return ServerErrorCode.PartitionUnknown;
      }
    }
    return ServerErrorCode.NoError;
  }
True is the replica is on a failed disk
@param replicaId
@return
ambry-store/src/main/java/com/github/ambry/store/StorageManager.java