New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade from 2.0.6 #985
Comments
Yes, there is a major customer going through 2.0.5 to 2.9.0 at the moment. Note that the guidance here is still valid. If you intend to switch to Tictac AAE you may want to consider keeping the object_hash_version to legacy. If you intend to change backend as part of the migration, you should first migrate to 2.9.0 on your existing backend (using the rolling upgrade approach), and then migrate backends using transfers. |
Thanks for the quick reply Martin. Is there any documentation on backend migration? Specifically, eleveldb to leveled. My cluster has been experiencing poor performance lately during times of heavy PUTs. It seems to resemble the "write amplification" issues documented in "Choosing a Backend". I am thinking of spinning up a test cluster and performing a full test upgrade/migration. |
Essentially, assuming you're currently using intra-cluster AAE: Step 1: Doing a rolling upgrade in the cluster to the new version, but maintain previous config settings (e.g. backend = eleveldb, anti-entropy active etc) Step 2: Setup a new node with the new backend configuration, but with unchanged anti-entropy settings Step 3: Do a cluster transfer to replace an existing node with the new node. This will transfer all data across. Do this node by node until all your nodes have been transferred Step 4: Switch the AAE configuration to migrate to Tictac AAE (change riak.conf so that We've found that transfers from eleveldb to leveled can be relatively slow, but clusters can be more stable with a higher transfer-limit. This is a key thing to test: how high a transfer-limit you can tolerate for Step 3. @ramensen - do you have any further advice for Andrew? |
@andrewzeneski is it OK to close this issue now? |
Can Riak 2.0.6 be upgraded directly to 2.9.0 or are intermediate steps required?
The text was updated successfully, but these errors were encountered: