backupccl: schedules with include_all_virtual_clusters
fail to unmarshal on older nodes
#111458
Labels
A-disaster-recovery
branch-release-23.1
Used to mark GA and release blockers, technical advisories, and bugs for 23.1
C-bug
Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.
db-cy-23
T-disaster-recovery
In 23.1.9+ we backported a change #106376 that added
include_all_virtual_clusters
as an alias toinclude_all_secondary_tenants
. When a node executesCREATE SCHEDULE
it bakes the provided backup statement into the scheduled job row such that any node in the cluster should be able to unmarshal the row and kickoff the backup job. In a situation where a cluster has a mix of pre-23.1.9 and post 23.1.9 binaries and if a schedule is created on a 23.1.9+ node, then the nodes on pre-23.1.9 binaries will not know how to unmarshal a schedule with theinclude_all_virtual_clusters
baked into it.Reproduction:
Notes:
For this to be an issue the schedule has to have been created with an
include_all_virtual_clusters
option. No one except internal CockroachCloud is expected to have this option set.it is not only
SHOW SCHEDULES
on an older patch release that is busted, even the schedule adoption loop on these older nodes will constantly fail to adopt this scheduled job.Jira issue: CRDB-31907
The text was updated successfully, but these errors were encountered: