Note: This release requires you to export and re-import data prior to upgrading or rolling back. The underlying data format has been changed.
When Google searching for the topic dgraph upgrading or dgraph upgrade, there will be two links to docs and other links dicuss posts and github issue. For the documentation links, there were:
The other links that appeared in the Google search were customers inquiring about upgrades or asking for a better experience regarding upgrades (or upgrade documentation):
I second this. Just having a “Quick upgrade checklist” section together with release notes would be enough, I think. It could read something like this:
Quick upgrade checklist for Dgraph v20.11 to v21.03:
Data export and import required
Most Alpha and Zero flags changed
Ratel removed from docker image (use old img for ratel until further notice)
This is a quick brain storm on ways the experience can be improved for upgrades and breaking changes:
Release/Changelog: Especially for breaking changes, more details on these (e.g. more details in commit string). In discuss posts, there can be further details, with links to docs.
Blogs: Released at time of engineering release, as this could have details on features and breaking changes.
Docs: In the top of navigation, have a landing zone for breaking changes and upgrades. This can link to pages elsewhere in the docs, but bring it all together under one area. Google searches can link to this.
SEO (Google Search): A few searches link to the new landing zone in docs.
Roadmap: For huge datasets (700+ GB), the backup/restore process could take hours, so mutations would need to be disabled during the process. Could in-place upgrades help in this?
These are good inputs. I will update current release notes to be more informative from “Breaking Changes” perspective. Meanwhile you can refer to following documents to understand the Flag changes and Process of Upgrades
We are continuosly innovating and improving the storage, compaction, indexing and other aspects of the product. So it is fair to anticipate that the underlying file system storage is not compatible across newer releases. As indicated we will do a better job on highlighting this in release notes and docs to set the right expectatoins. It would be comptabile for a patch release.