-
Notifications
You must be signed in to change notification settings - Fork 298
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
[AMORO-3111]Avoid optimization state blocking in planning #3115
Conversation
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.
@rfyu Thanks for the contribution, I left some comments, PTAL.
} catch (Exception e) { | ||
OptimizingStatus originalStatus = optimizingStatus; | ||
updateOptimizingStatus(OptimizingStatus.PENDING); | ||
LOG.error( |
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.
Warn logging level may be proper here.
@@ -299,7 +299,7 @@ public class AmoroManagementConf { | |||
public static final ConfigOption<Long> DB_CONNECT_MAX_WAIT_MILLIS = | |||
ConfigOptions.key("database.connection-pool-max-wait-millis") | |||
.longType() | |||
.defaultValue(1000L) | |||
.defaultValue(-1L) |
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.
We may need to roll back the change here.
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.
* Avoid optimization state blocking in planning * modify the optimizing status in memory * fix conflict and rollback configuration (cherry picked from commit 292111f) Signed-off-by: zhoujinsong <zhoujinsong0505@163.com>
* Avoid optimization state blocking in planning * modify the optimizing status in memory * fix conflict and rollback configuration (cherry picked from commit 292111f)
Why are the changes needed?
Close #3111.
Brief change log
How was this patch tested?
Add some test cases that check the changes thoroughly including negative and positive cases if possible
Add screenshots for manual tests if appropriate
Run test locally before making a pull request
Documentation