ecordell
11/03/2022, 2:12 PMspicedb migrate add-xid-columns
- update spicedb to 1.14 with --datastore-migration-phase=write-both-read-old
- run spicedb migrate add-xid-constraints
- update spicedb with the flag --datastore-migration-phase=write-both-read-new
- run spicedb migrate drop-id-constraints
- update spicedb to remove the --datastore-migration-phase
flag
the next release of the operator will support walking through these phases automatically, but those are the manual stepsspicedb migrate head
and update, you may see an increased error rate as the migrations run for the reasons you note. but that may be acceptable depending on your use casewilliamdclt
11/03/2022, 2:18 PMdrop-id-constraints
ecordell
11/03/2022, 2:19 PMwrite-both-read-new
as long as you like to verify before running the last migration