Shard Allocation

Getting Shard allocation issues. Able to see some partial indices as well and those are reported under UNASSIGNED shards.
Any specific reason why am getting this issue and how to fix this?

There could be many reasons for creating those partial indices under UNASSIGNED shards,
for example there might be some network issues between the nodes, in this case Try to increase the retries. Try the below thing

curl --silent --request PUT --header 'Content-Type: application/json' xx.xx.xx.xx:9200/my_index_name/_settings?pretty=true --data-ascii '{
  "index": {
    "allocation": {
       "max_retries": 15

Monitor for some time and you can verify again, if issue persists try to post some logs as well

The reference manual has information about troubleshooting unassigned shards. That's the best place to start. If you get stuck following the instructions there then please ask for more specific help.

There's not much point in guessing. Follow the guidance in the manual, it's much more useful.

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.