elasticsearch - Unassigned Shards in Cluster -
I have an ES cluster that is playing at one point I had all the primary and replica shards that were right in my 5 4 out of the nodes were handed over, but in an attempt to go to 5 nodes in some, I once again lost my replica shards. Now my primary shards are present on only 3 nodes.
I am trying to get under the issue:
On trying to force allocation:
{"commands": [ "Allocated": {"Index": "Group 7to 11poc", "shard": 7, "node": "SPOCNODE1"}}]} I get the following response: Having trouble finding the problem! Explanation: [1] 0: {Command: "Allocated" parameter: {index: "group7to11poc" shard: 7 node: "SPOCNODE5" allow_primary: true} - decision: [11] 0 : {Decider: "same_shard"} Judgment: "yes" explanation: "Shard has not been allocated for the same node or host"} - 1: {decider: "filter" decision: "no" explanation: "Mail from node index Decision: "Yes" explanation: "Primary is already active"} - 3: {decider: "Throttling" decision: "Decline:" Throttling "decision:" Decision: "Throttle" Yes "Explanation:" The short recovery of [2] Explanation: "Inability to allocate is ignored"} - 5: {decider: "disabled" decision: "yes" explanation: Ignore allocation is given due consideration.}} 6: {decider: "awareness" decision: "yes" explanation: "no allocation awareness is enabled"} - 7: {decider: "shards_limit" decision: yes "explanation: "Total converged border disabl ed: [-1] & lt; "Node_version" decision: "yes" explanation: "Target node version [1.3.2] is similar or new to source node version [1.3.2]" - 9: { Defining: "Disk_threshold" Decision: "Yes" Explanation: "Disk Usage Unavailable"} - 10: {Breakthrough: "Snapshot_In_program" Decision: "Yes" Explanation: "Primary or Transfer can not be disabled shard"} -
Finally it was resolved Either way the filter has been applied to the index which was used to prevent the shred allocation and transfer.
I removed the filter and started to start the cluster.
curl -XPUT localhost: 9200 / test / _settings -d '{"index.routing.allocation.include._id": ""}'
This sets the _id to empty the filter. It was already populated and the filter was never being matched!
Comments
Post a Comment