Skip to content

[IOTDB-4744] Fix schema register validation bug#7816

Merged
MarcosZyk merged 2 commits intoapache:masterfrom
MarcosZyk:fix_schema_register_check_bug
Oct 31, 2022
Merged

[IOTDB-4744] Fix schema register validation bug#7816
MarcosZyk merged 2 commits intoapache:masterfrom
MarcosZyk:fix_schema_register_check_bug

Conversation

@MarcosZyk
Copy link
Copy Markdown
Contributor

@MarcosZyk MarcosZyk commented Oct 31, 2022

Description

Cause

When filtering the failed measurement during register validation, the list in measurementGroup will keep being updated, which results in the removal with raw index failing.

Solution

Execute removal from the minimum index to maximum index and record the removed num to adapt to the index update.

@MarcosZyk MarcosZyk merged commit b023bb3 into apache:master Oct 31, 2022
@MarcosZyk MarcosZyk deleted the fix_schema_register_check_bug branch November 1, 2022 01:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants