Hi, would someone be able to tell me through which versions should I upgrade, in order to get my 3.2.8 (4 node cluster) upgraded to 4.5 ?
What I want to establish is if upgrading from 3.2.8 directly to 4.5 is possible? Or do I need to upgrade first to some other previous version ? And to which ones?
Thanks for prompt reply. Could you please let me know how can I check if my tables were created prior to CrateDB 3.x ? Is there any SHOW CREATE TABLE xxxx or similar to view which version is table currently at?
You can check information_schema.tables / information_schema.table_partitions:
select table_schema, table_name, version['created'], version['upgraded'] from information_schema.tables where table_schema not in ('information_schema', 'pg_catalog', 'sys') order by version['upgraded'] ASC, version['created'] ASC;
select table_schema, table_name, version['created'], version['upgraded'] from information_schema.tables where table_schema not in ('information_schema', 'pg_catalog', 'sys') order by version['upgraded'] ASC, version['created'] ASC;
Cluster checks should warn you as well if you have incompatible tables or partitions