-
Notifications
You must be signed in to change notification settings - Fork 50
Description
What problem does your feature solve?
after upgrading rpc to a newer version that has different db schema, have observed the restart against prior db fails with schema errors. Have run into this on restart of rpc on kubernetes deployments of the rpc image, since it stores the db on a PersistentVolume, in order to have dedicated/stable access to known storage and limits rather than hoping it will 'fit' on default ephemeral pod storage, which is variant.
What would you like to see?
rpc start-up recognizes older db schemas if present in the db instance provided at runtime and attempts migrations where possible to lift the given db to current schema required, allows rpc to have a successful, autonomous start-up after a sw version upgrade containing a db schema change
What alternatives are there?
before restarting rpc on new sw version with new schema, first delete the prior db it had created and then start rpc server, it will create a new db from scratch.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status