What is causing the error after upgrading from v1.8.0 to v1.8.1 in a cluster using PostgreSQL and S3 as Meta?

After upgrading from v.1.8.0 & Helm v.0.1.54 to v.1.8.1 & Helm v.0.1.55 in a cluster using PostgreSQL as Meta & S3, I encountered the following error: ```thread 'rw-main' panicked at src/meta/node/src/ called Result::unwrap() on an Err value: MetaStore(Query Error: error occurred while decoding column "config": mismatched types; Rust type core::option::Option<alloc::vec::Vec<u8>> (as SQL type BYTEA) is not compatible with SQL type JSONB


Sumit Singh

Asked on Apr 17, 2024

  • The error is caused by a breaking change from v1.8.0 to v1.8.1, where the SQL backend is now just a technical preview version for testing.
  • To resolve the issue, it is recommended to rebuild the cluster after the upgrade.
  • Starting from v1.8.1, efforts will be made to ensure backward compatibility to avoid such errors in the future.
Apr 17, 2024Edited by