Henley Wing Chiu
Henley Wing Chiu

Reputation: 22515

Elasticsearch cluster initializing - are imports happening?

I am using Elasticsearch 1.0.1.

I have a cluster with 1 index, 1 shard: 1 primary and 1 replica, 2 nodes.

The Elasticsearch cluster is yellow when I restart the entire cluster. The primary shards are started, but the replicas are still initializing, and will be green after they're done initializing. If an import is happening during this initialization phase, does the import replicate to the replicas during this phase? Or are they ONLY imported to the primary nodes?

(If the entire cluster is green, the import gets replicated of course, but I am not asking about this state).

Upvotes: 0

Views: 170

Answers (1)

Richa
Richa

Reputation: 7649

Elasticsearch cluster yellow means:

Elasticsearch has allocated all of the primary shards, but some/all of the replicas have not been allocated.

This happens when you do not have sufficient nodes to occupy all the shards(replica shards).

Read more here

Upvotes: -2

Related Questions