I am currently using elasticsearch 1.0.2. Since I have a memory leak
problem that forces me to restart it every 5 or 6 days, I am considering
upgrading to 1.2.1. But I did not found any upgrade guide, nor indications
whether new versions were retro-compatible. Please indicate if there is any
risk for the data?
I am currently using elasticsearch 1.0.2. Since I have a memory leak
problem that forces me to restart it every 5 or 6 days, I am considering
upgrading to 1.2.1. But I did not found any upgrade guide, nor indications
whether new versions were retro-compatible. Please indicate if there is any
risk for the data?
The data is compatible. Sometimes, like when Elasticsearch jumps a major
version, the protocol that Elasticsearch servers use to communicate with
eachother isn't backwards compatible. This is rare, and the 1.0.2->1.2.1
upgrade is fully backwards compatible. That being said, there are some
issues with running a cluster with two versions of Elasticsearch: you
(mostly) can't move data from a newer node to an older node. Features of
the new version may degrade because they aren't getting what they need from
their peers who are on the old version. This is generally OK because you
won't be relying on features of the newer version until after the upgrade.
The upshot: a rolling upgrade is safe for you. Turn off shard assignment
on the cluster, update on node, restart elasticsearch on that node, turn
shard assignment back on, wait for the cluster to go green, repeat.
Make sure to upgrade any plugins that you have installed when you upgrade
Elasticsearch.
I am currently using elasticsearch 1.0.2. Since I have a memory leak
problem that forces me to restart it every 5 or 6 days, I am considering
upgrading to 1.2.1. But I did not found any upgrade guide, nor indications
whether new versions were retro-compatible. Please indicate if there is any
risk for the data?
The data is compatible. Sometimes, like when Elasticsearch jumps a major
version, the protocol that Elasticsearch servers use to communicate with
eachother isn't backwards compatible. This is rare, and the 1.0.2->1.2.1
upgrade is fully backwards compatible. That being said, there are some
issues with running a cluster with two versions of Elasticsearch: you
(mostly) can't move data from a newer node to an older node. Features of
the new version may degrade because they aren't getting what they need from
their peers who are on the old version. This is generally OK because you
won't be relying on features of the newer version until after the upgrade.
The upshot: a rolling upgrade is safe for you. Turn off shard assignment
on the cluster, update on node, restart elasticsearch on that node, turn
shard assignment back on, wait for the cluster to go green, repeat.
Make sure to upgrade any plugins that you have installed when you upgrade
Elasticsearch.
I am currently using elasticsearch 1.0.2. Since I have a memory leak
problem that forces me to restart it every 5 or 6 days, I am considering
upgrading to 1.2.1. But I did not found any upgrade guide, nor indications
whether new versions were retro-compatible. Please indicate if there is any
risk for the data?
The data is compatible. Sometimes, like when Elasticsearch jumps a major
version, the protocol that Elasticsearch servers use to communicate with
eachother isn't backwards compatible. This is rare, and the 1.0.2->1.2.1
upgrade is fully backwards compatible. That being said, there are some
issues with running a cluster with two versions of Elasticsearch: you
(mostly) can't move data from a newer node to an older node. Features of
the new version may degrade because they aren't getting what they need from
their peers who are on the old version. This is generally OK because you
won't be relying on features of the newer version until after the upgrade.
The upshot: a rolling upgrade is safe for you. Turn off shard assignment
on the cluster, update on node, restart elasticsearch on that node, turn
shard assignment back on, wait for the cluster to go green, repeat.
Make sure to upgrade any plugins that you have installed when you upgrade
Elasticsearch.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.