BMaaS supports live migrating schemas. On startup, every component using the BMaaS will attempt to migrate the database up to the newest version of the schema it was built with.
Components are implemented to support a range of schemas, and operators should sequence upgrades in the following way:
ID | Schema range | CL range | Notes |
---|---|---|---|
0 | < 1672749980 | >= 0 | Initial production schema. |
1 | >= 1672768890 | >= 1565 | Exponential backoff support. |
For example, if the cluster is at version 1200, it should first be upgraded to < 1565 (to reach row 0), then to anything higher than 1565 (to reach row 1).
For simple deployments, an offline migration is easiest. To perform an offline migration:
This allows migrating across many incompatible schema migrations, but requires downtime.