-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extend Region & Remove Region & Reconstruct Region #14634
base: master
Are you sure you want to change the base?
Extend Region & Remove Region & Reconstruct Region #14634
Conversation
# Conflicts: # iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/procedure/impl/region/AddRegionPeerProcedure.java # iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/procedure/impl/region/RegionMigrateProcedure.java
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for your outstanding work! With your efforts, IoTDB now has a more comprehensive and robust region operation procedure. Just a few minor issues, PTAL~
@@ -678,6 +683,8 @@ public TSStatus checkRemoveDataNodes(List<TDataNodeLocation> dataNodeLocations) | |||
return new TSStatus(TSStatusCode.SUCCESS_STATUS.getStatusCode()); | |||
} | |||
|
|||
// region region operation related check |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not typo,// region
is work with // endregion
@@ -532,6 +534,18 @@ migrateRegion | |||
: MIGRATE REGION regionId=INTEGER_LITERAL FROM fromId=INTEGER_LITERAL TO toId=INTEGER_LITERAL | |||
; | |||
|
|||
reconstructRegion | |||
: RECONSTRUCT REGION regionId=INTEGER_LITERAL (COMMA regionId=INTEGER_LITERAL)* ON targetDataNodeId=INTEGER_LITERAL |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we have reconstruct all regions
now?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not yet, will implement it in next pr
No description provided.