Skip to content

Fix Clear Invalid schema region when restarting#13164

Merged
OneSizeFitsQuorum merged 2 commits intoapache:masterfrom
133tosakarin:fix_restart_sr_clear
Aug 15, 2024
Merged

Fix Clear Invalid schema region when restarting#13164
OneSizeFitsQuorum merged 2 commits intoapache:masterfrom
133tosakarin:fix_restart_sr_clear

Conversation

@133tosakarin
Copy link
Contributor

Sometimes we shut down some machines in the cluster. Due to the high availability provided by the consensus layer, we can still move data from the stopped machines through the CLI. However, when these stopped machines restart, they still think they are in the corresponding consensus group. In fact, since the data has been migrated during the shutdown, we should clean up these invalid data when restarting.

In this PR, we fix the problem of not cleaning up the invalid schema region

Copy link
Contributor

@OneSizeFitsQuorum OneSizeFitsQuorum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@OneSizeFitsQuorum OneSizeFitsQuorum merged commit ba83299 into apache:master Aug 15, 2024
@133tosakarin 133tosakarin changed the title Clear Invalid schema region when restarting To rc1.3.3: Clear Invalid schema region when restarting Aug 15, 2024
@133tosakarin 133tosakarin changed the title To rc1.3.3: Clear Invalid schema region when restarting Fix Clear Invalid schema region when restarting Aug 15, 2024
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.

2 participants