Skip to content

Commit

Permalink
fix(restore): skip restoration of additional entities included in DES…
Browse files Browse the repository at this point in the history
…C SCHEMA WITH INTERNALS

As described in the comment.

Fixes #4050
  • Loading branch information
Michal-Leszczynski committed Oct 3, 2024
1 parent 385fb1b commit 11697fd
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions pkg/service/restore/schema_worker.go
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,13 @@ func (w *schemaWorker) restoreFromSchemaFile(ctx context.Context) error {

var createdKs []string
for _, row := range *w.describedSchema {
if row.Keyspace == "" {
// Scylla 6.3 added roles and service levels to the output of
// DESC SCHEMA WITH INTERNALS (https://github.com/scylladb/scylladb/pull/20168).
// Those entities do not live in any particular keyspace, so that's how we identify them.
// We are skipping them until we properly support their restoration.
continue
}
if row.Keyspace == "system_replicated_keys" {
// See https://github.com/scylladb/scylla-enterprise/issues/4168
continue
Expand Down

0 comments on commit 11697fd

Please sign in to comment.