Skip to content
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.2.3 to 2.9p5 #1001

Closed
kpy3 opened this issue Jan 9, 2020 · 7 comments
Closed

Upgrade from 2.2.3 to 2.9p5 #1001

kpy3 opened this issue Jan 9, 2020 · 7 comments

Comments

@kpy3
Copy link

kpy3 commented Jan 9, 2020

Hi,
we are going to upgrade our riak cluster from 2.2.3 to 2.9p5, can we do it directly or some intermediate steps required?

Can we upgrade our cluster via adding additional nodes with 2.9p5 version (may be some configuration changes required?) or rolling upgrade is preferred way?

UPDATE: Is there a plan to upgrade basho's docker images (https://hub.docker.com/r/basho/riak-kv) for riak?

@martinsumner
Copy link
Contributor

It depends if you want to change backends as part of the upgrade. If no, then a rolling upgrade is preferred - the upgrade will be quicker, with less time in a mixed state. There is nothing wrong with a mixed version state, but it is just a less well-known state.

If you intend to change to a leveled backend you should do that by adding additional nodes and doing a series of replace operations. If you have a very large data set, this may take some time - so it may be preferable to do a rolling upgrade first. This is the plan being followed by a large customer making that switch.

There should be no intermediate steps required. We've done lots of testing from 2.0.x to 2.9p5 - so 2.2.3 will be fine.

New configured features will be off by default, so if you leave your configuration as-is it should run with the old feature set. Some new features (e.g. Tictac AAE, coverage participation) will therefore require new configuration, others (e.g. node confirms) will require extra bucket properties.

If you were not an enterprise customer on 2.2.3 - you will now end up with the enterprise features by default as part of the upgrade. So the riak_repl module will be installed - but it should be inactive (although it can still generate some logs on startup/shutdown).

@martinsumner
Copy link
Contributor

There are no plans on upgrading docker images that I'm aware of, but any contributions to move this forward would be welcome.

@kpy3
Copy link
Author

kpy3 commented Jan 9, 2020

So, I guess this plan also suitable for upgrade riak to 2.9 (if we decide to change backed later)?

@martinsumner
Copy link
Contributor

Yes

@kpy3
Copy link
Author

kpy3 commented Jan 9, 2020

Thanks! :)

@martinsumner
Copy link
Contributor

@kpy3 is it OK to close the issue now?

@kpy3
Copy link
Author

kpy3 commented Feb 17, 2020

Yes.

@kpy3 kpy3 closed this as completed Feb 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants