Open
Description
This is an extract of the conversation in https://github.com/scylladb/scylla-operator/pull/2524/files#r2017366718 to a separate issue.
The automated multi-region capability implementation has introduced substantial repetition of almost-identical logic across the range of types we sync with the remote cluster:
scylla-operator/pkg/controller/scylladbcluster/sync.go
Lines 223 to 299 in 468cbfa
plus the secret/CM syncers added in #2524.
The scope of this issue is to come up with some pattern to prevent the sprawl of almost-identical implementations under the ScyllaDBCluster
controller.
Acceptance Criteria
- Meaningfully reduced duplication of logic under
pkg/controller/scylladbcluster
'ssync.go
.