Bug Report: SwitchTraffic
in v15 not backwards compatible with v14 tablets
#12100
Labels
SwitchTraffic
in v15 not backwards compatible with v14 tablets
#12100
Overview of the Issue
We have a source keyspace, running Vitess v14
vttablet
s, and a target keyspace, running Vitess v15vttablet
s. We are moving some tables from the source keyspace into the target keyspace, using theMoveTables
workflow.Setting up the
MoveTables
workflow between the source and target keyspace worked as expected. Once VReplication finished the copy phase and switched over to the streaming phase, we usedSwitchTraffic
to first move reads (successfully) to the new cluster, but when we tried to move writes as well, we encountered the following error:workflow_sub_type
was added to the_vt.vreplication
table in Vitess v15, so the_vt_vreplication
table running with v14vttablet
s does not have that column yet. TheSwitchTraffic
command in the v15vtctl
expects that column to exist.We're now in the process of upgrading the source cluster to v15 and will the try moving traffic again, but I was wondering if Vitess is supposed to have backwards / forwards compatibility for commands that work across keyspaces (that can run with different tablet versions) like this?
Reproduction Steps
n/a
Binary Version
Operating System and Environment details
Log Fragments
No response
The text was updated successfully, but these errors were encountered: