Skip to content

Instantly share code, notes, and snippets.

View divyam-goel's full-sized avatar
🏠
Working from home

Divyam Goel divyam-goel

🏠
Working from home
  • Pilani, Rajasthan
View GitHub Profile
@divyam-goel
divyam-goel / es_pri_allocate_unassigned.md
Created June 17, 2018 12:05 — forked from ianblenke/es_pri_allocate_unassigned.md
elasticsearch trying to allocate a primary shard which is disabled

Allow routing allocations:

curl -XPUT localhost:9200/_cluster/settings -d '{
                "transient" : {
                    "cluster.routing.allocation.enable" : "all"
                }
        }'