Skip to content

Don't blacklist restored tables#4021

Merged
Michal-Leszczynski merged 2 commits intomasterfrom
ml/fix-3998
Sep 17, 2024
Merged

Don't blacklist restored tables#4021
Michal-Leszczynski merged 2 commits intomasterfrom
ml/fix-3998

Conversation

@Michal-Leszczynski
Copy link
Copy Markdown
Collaborator

@Michal-Leszczynski Michal-Leszczynski commented Sep 5, 2024

Blacklisting approach was error-prone and difficult to test (e.g. Scylla cluster might have some leftover cdc tables from previous releases that are not present in the fresh clusters).
It also allows for a more unified mechanism of excluding raft managed tables (replicated locally) from being restored.

Rebased on #4034.

Fixes #3998

@Michal-Leszczynski Michal-Leszczynski force-pushed the ml/fix-3998 branch 2 times, most recently from a6b0209 to 129a4e8 Compare September 17, 2024 09:59
@Michal-Leszczynski Michal-Leszczynski marked this pull request as ready for review September 17, 2024 09:59
@Michal-Leszczynski
Copy link
Copy Markdown
Collaborator Author

@karol-kokoszka this PR is ready for review!

Comment thread pkg/scyllaclient/client_scylla.go
Comment thread pkg/service/restore/worker.go Outdated
This approach was error-prone and difficult to test
(e.g. Scylla cluster might have some leftover cdc tables
from previous releases that are not present in the fresh clusters).
It also allows for a more unified mechanism of excluding
raft managed tables (replicated locally) from being restored.

Fixes #3998
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve SM backup/restore table filtering

2 participants