all-things-risingwave
Does RW support rolling upgrade deployment model?
Nizar Hejazi is inquiring about the support of rolling upgrade deployment model in RW based on the provided AWS whitepapers. The subsequent responses provide insights into the compatibility and strategies for rolling upgrades in RW.
Ni
Nizar Hejazi
Asked on May 22, 2023
- RW supports both in-place and rolling upgrade deployment models.
- In RW, a new version of the image can be specified in the yaml file and applied to an existing cluster running on k8s.
- Meta data is stored in etcd, ensuring durability and remaining unaffected by operations.
- The new RW cluster reads the meta data and performs a recovery process similar to component crashes.
- Different components in RW have varying restrictions on upgrades, resulting in different upgrade strategies.
- The frontend (SQL processing layer) supports rolling upgrade due to its stateless nature.
- Both in-place and rolling upgrades are supported in the underlying infrastructure of RW.
May 23, 2023Edited by