Elasticsearch node takes a time to come in yellow or green state after the start
ES cluster details: Single node with one index and 10 shards.
ES is taking 6-7 minutes to come in the yellow or green state every time when starts.
The data folder size is 15 GB. As the size of data folder increases, it takes more time.
elasticsearch.yml properties:
thread_pool.search.queue_size: 5000
thread_pool.bulk.queue_size: 1000
indices.query.bool.max_clause_count: 25000
transport.connections_per_node.bulk: 10
indices.fielddata.cache.size: 1m
indices.queries.cache.size: 1m
indices.recovery.max_bytes_per_sec : 200mb
discovery.zen.fd.ping_interval: 30s
discovery.zen.fd.ping_timeout: 30s
discovery.zen.fd.ping_retries: 4
discovery.zen.commit_timeout: 120s
cluster.routing.allocation.node_concurrent_recoveries: 5
script.inline: true
script.stored: true
script.max_compilations_per_minute: 200