-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[fix](cloud) Check instance_id valid when use cloud_unique_id degrade format #43253
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
Conversation
|
Thank you for your contribution to Apache Doris. Since 2024-03-18, the Document has been moved to doris-website. |
|
clang-tidy review says "All clean, LGTM! 👍" |
|
run buildall |
|
clang-tidy review says "All clean, 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.
clang-tidy made some suggestions
|
run builldall |
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.
clang-tidy made some suggestions
| if (c0 != TxnErrorCode::TXN_OK) { | ||
| LOG(WARNING) << "check instance instance_id=" << instance_id | ||
| << " failed, code=" << format_as(c0) << ", info=" + m0; | ||
| return false; |
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.
warning: redundant boolean literal in conditional return statement [readability-simplify-boolean-expr]
cloud/src/resource-manager/resource_manager.cpp:227:
- if (c0 != TxnErrorCode::TXN_OK) {
- LOG(WARNING) << "check instance instance_id=" << instance_id
- << " failed, code=" << format_as(c0) << ", info=" + m0;
- return false;
- }
- return true;
+ return !c0 != TxnErrorCode::TXN_OK;|
run buildall |
|
PR approved by at least one committer and no changes requested. |
|
PR approved by anyone and no changes requested. |
|
run buildall |
|
run cloudut |
|
run buildall |
|
PR approved by at least one committer and no changes requested. |
dataroaring
left a comment
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
What problem does this PR solve?
Issue Number: close #xxx
Related PR: #xxx
Problem Summary:
Check List (For Committer)
Test
Behavior changed:
Does this need documentation?
Release note
None
Check List (For Reviewer who merge this PR)