private void resolveStoreInitialState() {
    // Determine if HelixParticipant is adopted.
    if (replicaStatusDelegates != null && !replicaStatusDelegates.isEmpty() && replicaStatusDelegates.get(0)
        .supportsStateChanges()) {
      // If store is managed by Helix, Helix controller will update its state after participation.
      setCurrentState(ReplicaState.OFFLINE);
    } else {
      // This is to be compatible with static clustermap. If static cluster manager is adopted, all replicas are supposed to be STANDBY
      // and router relies on failure detector to track liveness of replicas(stores).
      setCurrentState(ReplicaState.STANDBY);
    }
  }
Resolve initial state of current store.
ambry-store/src/main/java/com/github/ambry/store/BlobStore.java