Elasticsearch cluster administration notes

If a replica shard is in an INITIALIZATION state and the primary shard is healthy, then the shard is being replicated from the primary to the replica. You can use the cat API to get this state:

Now, we have no clue from this view what progress has been made, if any.  On large shards, it may even look like things are frozen.  How do we gain insight into what is happening?  Well, thankfully, there’s a status page which is called like so:

 

Queue size reached

 

To increase your queue size, you can add the following to elasticsearch.yml.  Replace “bulk” and “search” with the appropriate thread pool name, along with a reasonable value.  You can find the list of those at http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/modules-threadpool.html .

 

 

Leave a Reply

Your email address will not be published. Required fields are marked *

*