Elasticsearch - Dynamic mappings are not available on the node that holds the primary yet -


we have rails application using official elasticsearch gem connect elasticsearch.

i did deploy added 1 field (number) index (by editing model + adding as_indexed_json) , query field in search.

a few minutes after deploy load spiked hard on 1 of 3 servers in our elasticsearch cluster. , errors starting spamming in our log:

dynamic mappings not available on node holds primary yet.

searches started very, slow, , cluster failed entirely.

we had force restart cluster, , remove code added field/search, , things started work fine.

we did not put update mappings index, waiting first model index this.

any ideas/pointers appreciated.


Comments

Popular posts from this blog

Spring Boot + JPA + Hibernate: Unable to locate persister -

go - Golang: panic: runtime error: invalid memory address or nil pointer dereference using bufio.Scanner -

c - double free or corruption (fasttop) -