Is there an API that returns local persisted cluster state before the cluster state is recovered. I tried /_cluster/state?local, but it does not return the persisted state on disk, if the state is not yet initialized.
If there is no such API, I was wondering if it makes sense to add such an API. Thinking of a case where-in it makes debugging the cluster a lot easier when there is quorum loss. Instead of going through the logs, we can make this local API call and get the state. The persisted state is already parsed when the node boots up.