Test upgrade program that convert VER=23 or older meta data to VER=24 or newer format.
meta-v23.txt
is exported data generated by databend-query with metadata
version 23, i.e., a build before 2022-01-01.
To rebuild meta-v23.txt
, checkout to a former commit and run:
make stateless-cluster-test
./target/${BUILD_PROFILE}/databend-metactl --export --raft-dir .databend/meta1 >tests/meta-upgrade-to-24/meta-v23.txt