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
Post a Comment