cockroachdb / cockroachdb/cockroach
crosscluster: fail creating the PCR job if destination has a cluster version less than the source
Open
A-disaster-recovery
C-enhancement
P-2
T-disaster-recovery
- Dominant language
- Go
- Stars
- 32.5k
- Forks
- 4.1k
- PR merge metrics
- PR metrics pending
Description
We can do so by adding a check here where we create the producer job
https://github.com/msbutler/cockroach/blob/butler-sql-origin-ts/pkg/ccl/crosscluster/producer/stream_lifetime.go#L98-L99
And plumbing the destination cluster version in the `ReplicationProducerRequest`
Jira issue: CRDB-42590
Contributor guide
Assessment
This issue has not been assessed yet.