Skip to content

[IOTDB-5831] Fix create region failure after recreate db#9800

Merged
MarcosZyk merged 1 commit intoapache:masterfrom
MarcosZyk:fix_create_region_failure
May 9, 2023
Merged

[IOTDB-5831] Fix create region failure after recreate db#9800
MarcosZyk merged 1 commit intoapache:masterfrom
MarcosZyk:fix_create_region_failure

Conversation

@MarcosZyk
Copy link
Contributor

@MarcosZyk MarcosZyk commented May 9, 2023

Description

Problem

c94696e4fb690a9ba78087b4381b521

Cause

The DataNode fetched the predeleted database and carries on to create regions, while the database is deleted, which results in the region creation failure.

Solution

Add predeleted check on ConfigNode when return database msg to DataNode.

Copy link
Contributor

@SpriCoder SpriCoder left a comment

Choose a reason for hiding this comment

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

LGTM~

Copy link
Contributor

@CRZbulabula CRZbulabula left a comment

Choose a reason for hiding this comment

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

LGTM~

@MarcosZyk MarcosZyk merged commit 5c20ee4 into apache:master May 9, 2023
@MarcosZyk MarcosZyk deleted the fix_create_region_failure branch June 5, 2023 00:46
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.

3 participants