Today we attempted an upgrade from 0.17.6 to 0.18.4. We run a 4 node
cluster with lots of small indexes (roughly 0-800mb each) each with 2
replicas, no sharding. We had about 3gb of data on each node at the
time.
After a full restart, the cluster failed to recover and remained in a
red state until nodes would start to become unresponsive. This
happened as soon as the processes resident size equaled its JVM heap
size (2gb initially). Raising the heap to 8gb had no effect. ES would
just consume all the available heap then become unresponsive after
having done so.
We eventually decided to re-index (starting with an empty data
directory on all nodes), still on 0.18.4, and discovered that we could
create about 10 (empty) indexes in rapid succession and then ES would
become unresponsive. It was also very slow to move out of red or
yellow states.
Having lost most hope by this point, we downgraded to 0.17.6 and began
indexing again, and everything flew along in typical fashion.
Anyone have any thoughts as to what gives?
The only useful log messages I turned up was when we were trying to re-
index from scratch on 0.18.4... these streamed continuously:
[2011-11-21 21:46:19,421][WARN ][cluster.metadata ] [prod-
elasticsearch-r02] [contact_documents-7-0] re-syncing mappings with
cluster state for types [[contact_document]]
[2011-11-21 21:46:19,485][WARN ][cluster.metadata ] [prod-
elasticsearch-r02] [contact_documents-3-0] re-syncing mappings with
cluster state for types [[contact_document]]
[2011-11-21 21:46:19,544][WARN ][cluster.metadata ] [prod-
elasticsearch-r02] [contact_documents-3-0] re-syncing mappings with
cluster state for types [[contact_document]]
[2011-11-21 21:46:19,605][WARN ][cluster.metadata ] [prod-
elasticsearch-r02] [contact_documents-7-0] re-syncing mappings with
cluster state for types [[contact_document]]
[2011-11-21 21:46:19,670][WARN ][cluster.metadata ] [prod-
elasticsearch-r02] [contact_documents-3-0] re-syncing mappings with
cluster state for types [[contact_document]]
[2011-11-21 21:46:19,730][WARN ][cluster.metadata ] [prod-
elasticsearch-r02] [contact_documents-11-0] re-syncing mappings with
cluster state for types [[contact_document]]
[2011-11-21 21:46:19,792][WARN ][cluster.metadata ] [prod-
elasticsearch-r02] [contact_documents-7-0] re-syncing mappings with
cluster state for types [[contact_document]]
[2011-11-21 21:46:19,857][WARN ][cluster.metadata ] [prod-
elasticsearch-r02] [contact_documents-7-0] re-syncing mappings with
cluster state for types [[contact_document]]
[2011-11-21 21:46:19,916][WARN ][cluster.metadata ] [prod-
elasticsearch-r02] [contact_documents-11-0] re-syncing mappings with
cluster state for types [[contact_document]]
[2011-11-21 21:46:19,975][WARN ][cluster.metadata ] [prod-
elasticsearch-r02] [contact_documents-11-0] re-syncing mappings with
cluster state for types [[contact_document]]
[2011-11-21 21:46:20,043][WARN ][cluster.metadata ] [prod-
elasticsearch-r02] [contact_documents-7-0] re-syncing mappings with
cluster state for types [[contact_document]]
[2011-11-21 21:46:20,102][WARN ][cluster.metadata ] [prod-
elasticsearch-r02] [contact_documents-11-0] re-syncing mappings with
cluster state for types [[contact_document]]
[2011-11-21 21:46:20,163][WARN ][cluster.metadata ] [prod-
elasticsearch-r02] [contact_documents-7-0] re-syncing mappings with
cluster state for types [[contact_document]]
[2011-11-21 21:46:20,224][WARN ][cluster.metadata ] [prod-
elasticsearch-r02] [contact_documents-11-0] re-syncing mappings with
cluster state for types [[contact_document]]
[2011-11-21 21:46:20,292][WARN ][cluster.metadata ] [prod-
elasticsearch-r02] [contact_documents-3-0] re-syncing mappings with
cluster state for types [[contact_document]]
[2011-11-21 21:46:20,351][WARN ][cluster.metadata ] [prod-
elasticsearch-r02] [contact_documents-3-0] re-syncing mappings with
cluster state for types [[contact_document]]
[2011-11-21 21:46:20,411][WARN ][cluster.metadata ] [prod-
elasticsearch-r02] [contact_documents-7-0] re-syncing mappings with
cluster state for types [[contact_document]]
[2011-11-21 21:46:20,474][WARN ][cluster.metadata ] [prod-
elasticsearch-r02] [contact_documents-11-0] re-syncing mappings with
cluster state for types [[contact_document]]
[2011-11-21 21:46:20,534][WARN ][cluster.metadata ] [prod-
elasticsearch-r02] [contact_documents-11-0] re-syncing mappings with
cluster state for types [[contact_document]]
[2011-11-21 21:46:20,594][WARN ][cluster.metadata ] [prod-
elasticsearch-r02] [contact_documents-11-0] re-syncing mappings with
cluster state for types [[contact_document]]