Uh oh!
There was an error while loading. Please reload this page.
[fix](cloud) Check instance_id valid when use cloud_unique_id degrade format - #43253
Conversation
doris-robot
commented
Nov 5, 2024
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! 👍" |
deardeng
commented
Nov 5, 2024
run buildall |
clang-tidy review says "All clean, LGTM! 👍" |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
deardeng
commented
Nov 5, 2024
run builldall |
| 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.
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;Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
deardeng
commented
Nov 6, 2024
run buildall |
Uh oh!
There was an error while loading. Please reload this page.
PR approved by at least one committer and no changes requested. |
PR approved by anyone and no changes requested. |
deardeng
commented
Nov 8, 2024
run buildall |
deardeng
commented
Nov 8, 2024
run cloudut |
deardeng
commented
Nov 8, 2024
run buildall |
PR approved by at least one committer and no changes requested. |
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)