I'm having trouble with my cluster in that it seems only 3 of my nodes (out 
of 5) are being utilized for primary shards. All replica shards remain 
unassigned also.

In trying to resolve the issue I tried using the Reroute API however it 
gives me the following error (with explain on):

explanations: [1]
0:  {
command: "allocate"
parameters: {
index: "group7to11poc"
shard: 7
node: "SPOCNODE5"
allow_primary: true
}-
decisions: [11]
0:  {
decider: "same_shard"
decision: "YES"
explanation: "shard is not allocated to same node or host"
}-
1:  {
decider: "filter"
decision: "NO"
explanation: "node does not match index include filters 
[_id:"4rZYPBOGRMK4y9YG6p7E2w"]"
}-
2:  {
decider: "replica_after_primary_active"
decision: "YES"
explanation: "primary is already active"
}-
3:  {
decider: "throttling"
decision: "YES"
explanation: "below shard recovery limit of [2]"
}-
4:  {
decider: "enable"
decision: "YES"
explanation: "allocation disabling is ignored"
}-
5:  {
decider: "disable"
decision: "YES"
explanation: "allocation disabling is ignored"
}-
6:  {
decider: "awareness"
decision: "YES"
explanation: "no allocation awareness enabled"
}-
7:  {
decider: "shards_limit"
decision: "YES"
explanation: "total shard limit disabled: [-1] <= 0"
}-
8:  {
decider: "node_version"
decision: "YES"
explanation: "target node version [1.3.2] is same or newer than source node 
version [1.3.2]"
}-
9:  {
decider: "disk_threshold"
decision: "YES"
explanation: "disk usages unavailable"
}-
10:  {
decider: "snapshot_in_progress"
decision: "YES"
explanation: "shard not primary or relocation disabled"
}-
-
}-
-

I can see only one NO on there which I have highlighted. I have tried 
running the following on my nodes but it makes no difference:

{
      "index.routing.allocation.include._id" : "4rZYPBOGRMK4y9YG6p7E2w"
}

Any ideas what could be up? I also tried disabling replicas and then 
enabling but they just go straight to unassigned. Even with 3 nodes, the 
replicas should get assigned no? (I'm not sure why the other two are no 
participating, they seem to be accepting Indicies from Marvel with no 
issues so are active in the cluster).

Thanks in advance!





-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/8e168beb-525c-4142-b012-3b24e1d4e9c7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to