Hi I want to upgrade spiceDB from a very
# spicedb
m
Hi I want to upgrade spiceDB from a very old version to latest version. Using postgres as datastore with spiceDB and planning to sequinetial update for this. Can some help if there is some docs with the list of breaking change in intermediate version and what steps can be taken to avoid downtime between those version. Was checking the GitHub release page in multiple version need to take care of migration. Any suggestion on this.
v
There is no documentation for manual upgrades other than what's described in each GitHub release page. That's why we recommend using the
spicedb-operator
, so it handles updates automatically for you. What version are you using?
m
We are currently on version 1.2.0.
v
and the datastore?
m
Postgres
v
it's going to be a lot of updates that require manual intervention
My recomendation is: - check every release from 1.2.0 - identify those that have 4-phase migrations in postgres (I think there is maybe one or two). - update incrementally, one by one. You typically first run
spicedb migrate
with the target version binary, and then roll the target SpiceDB version. If it's a four phase migration, it's more involved, and requires passing flags to
spicedb migrate
and starting specific versions of spicedb with special phase flags
m
Thanks @vroldanbet
71 Views