How to view detailed progress of INITIALIZING replica shard(s)?

I have a 3 node Elasticsearch cluster. All 3 nodes are master, ingest and data nodes. I shutdown one of the nodes. As expected, the cluster goes into a yellow state. If I query the cluster using the following "_cat/shards" REST API command, I can see a single record being returned. The record returned is related to initializing a replica shard.

curl my_ip_address:9200/_cat/shards?pretty -u elastic | grep INITIALIZING

I later brought the shutdown node back online. After about 30 minutes, the cluster goes from yellow back into the green state.

My question, is there another "more detailed" method to see progress on the INITIALIZING shard?

https://www.elastic.co/guide/en/elasticsearch/reference/7.9/cat-recovery.html should give you that info.

2 Likes

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.