Updating 6.0 -> 6.2

Could I update 6.0 to 6.2 (skipping 6.1)?

You should be able to upgrade directly to 6.2 (we have tests for upgrades from 5.1.7 to 6.2). However, keep in mind that downgrading back to 6.0 won’t be possible anymore as the default storage hash sums changed. This means that you can only go backwards from 6.2 to 6.1 (and even then you can’t go back from 6.1 to 6.0 if you’ve ever ran with 6.2).

Also, we usually try to list any version-specific upgrade notes in our documentation:

https://apple.github.io/foundationdb/administration.html#version-specific-notes-on-upgrading

Our docs on the website are still for the 6.1 version, but you can see the 6.2 version here:

Thanks a lot!
Best wishes

Note that we are still missing tests for doing this, so the downgrade capability isn’t actually promised, I think? (I’m honestly a bit confused on this myself.)

A random question. Is there a way to find out which version we are running from the fdbcli?

To add to this, is there way to see which process is recruited as what (storage, log, …)?

fdbcli is actually version specific currently, so if your fdbcli connects to the cluster, then fdbcli --version is the cheap way to do it.

Otherwise fdbcli> status json and then looking at json.cluster.processes.ProcessID.version will give you the version that process is running.

status json also provides this, but https://github.com/poma/fdbtop displays it in a nicer way.

1 Like

javascript :\

Thank you for the pointers