-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
[BugFix] Fix partition live number not register #34842
Conversation
Signed-off-by: Astralidea <astralidea@163.com>
Actually, what others expect is how you fixed the issue not just the result. Then they can review your code with the understanding of what you have done. |
fe/fe-core/src/main/java/com/starrocks/server/LocalMetastore.java
Outdated
Show resolved
Hide resolved
fe/fe-core/src/main/java/com/starrocks/server/LocalMetastore.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Astralidea <astralidea@163.com>
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.
few comments
fe/fe-core/src/main/java/com/starrocks/server/LocalMetastore.java
Outdated
Show resolved
Hide resolved
} | ||
|
||
ModifyTablePropertyOperationLog info = |
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.
Why write multi edit log instead of only one?
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.
Because this can only support one log and one process.
fe/fe-core/src/main/java/com/starrocks/server/LocalMetastore.java
Outdated
Show resolved
Hide resolved
Kudos, SonarCloud Quality Gate passed!
|
[FE Incremental Coverage Report]✅ pass : 60 / 60 (100.00%) file detail
|
[BE Incremental Coverage Report]✅ pass : 0 / 0 (0%) |
@Mergifyio backport branch-3.2 |
@Mergifyio backport branch-3.1 |
@Mergifyio backport branch-3.0 |
✅ Backports have been created
|
✅ Backports have been created
|
✅ Backports have been created
|
Why I'm doing: Creating the table first and then changing the partition_live_number attribute does not take effect. What I'm doing: This is caused by not registering the schedule info in DynamicPartitionScheduler when modifying the properties. Adding this schedule info when modifying partition_live_number can solve the problem. Signed-off-by: Astralidea <astralidea@163.com> (cherry picked from commit 035e033) # Conflicts: # fe/fe-core/src/main/java/com/starrocks/server/LocalMetastore.java
Why I'm doing: Creating the table first and then changing the partition_live_number attribute does not take effect. What I'm doing: This is caused by not registering the schedule info in DynamicPartitionScheduler when modifying the properties. Adding this schedule info when modifying partition_live_number can solve the problem. Signed-off-by: Astralidea <astralidea@163.com> (cherry picked from commit 035e033) # Conflicts: # fe/fe-core/src/main/java/com/starrocks/server/LocalMetastore.java
Why I'm doing: Creating the table first and then changing the partition_live_number attribute does not take effect. What I'm doing: This is caused by not registering the schedule info in DynamicPartitionScheduler when modifying the properties. Adding this schedule info when modifying partition_live_number can solve the problem. Signed-off-by: Astralidea <astralidea@163.com> (cherry picked from commit 035e033) # Conflicts: # fe/fe-core/src/main/java/com/starrocks/server/LocalMetastore.java
Why I'm doing:
Creating the table first and then changing the partition_live_number attribute does not take effect.
What I'm doing:
This is caused by not registering the schedule info in DynamicPartitionScheduler when modifying the properties. Adding this schedule info when modifying
partition_live_number
can solve the problem.Fixes #issue
What type of PR is this:
Does this PR entail a change in behavior?
If yes, please specify the type of change:
Checklist:
Bugfix cherry-pick branch check: