sql: restoring 2.1 backup into 20.1 cluster succeeds but seems to be in a bad state #44453
Labels
C-bug
Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.
Projects
I successfully restored a backup of a database (that I believe was created on 2.1 cluster) onto the current master (20.1). However, the system tables seem to be in a bad state.
The backup is linked to our internal wiki page about
querylog
workload (https://cockroachlabs.atlassian.net/wiki/spaces/ENG/pages/74777114/Testing+with+querylog+workload)Once the data restored, running
SELECT column_name, data_type FROM [SHOW COLUMNS FROM <table_name>];
(for one of the newly-restored tables) crashes the cluster.My guess is that using this particular backup might not be necessary - maybe creating any backup on 2.1 cluster and then restoring it into 20.1 will have a similar behavior, but I didn't check this.
Assigning to @dt for triage.
The text was updated successfully, but these errors were encountered: