scylladb / scylla-manager

The Scylla Manager
https://manager.docs.scylladb.com/stable/
Other
53 stars 34 forks source link

Make it possible to restore schema into a different DC setting #4049

Open Michal-Leszczynski opened 1 month ago

Michal-Leszczynski commented 1 month ago

As described in #4041 and #3525, starting from SM 3.3 and Scylla 6.0, SM restores schema by applying the output of DESC SCHEMA WITH INTERNALS. As DCs are a part of keyspace schema, it makes it impossible to restore schema into a cluster with different DCs - even though we are aiming to make restore work with any cluster topology.

So right now this is a documented limitation, but we should make it possible to restore schema into a different DC setting or make it easier for the user to modify just the DC part of keyspace schema.

cc: @karol-kokoszka @tzach @mikliapko

karol-kokoszka commented 1 month ago

See https://github.com/scylladb/scylla-manager/issues/4052#issuecomment-2396355177