Uh oh!
There was an error while loading. Please reload this page.
[Improvement] (pipeline) Cancel related query if backend restarts or dead - #23863
Conversation
RoanHeNaN
commented
Sep 4, 2023
run buildall |
clang-tidy review says "All clean, LGTM! 👍" |
RoanHeNaN
commented
Sep 4, 2023
run buildall |
clang-tidy review says "All clean, LGTM! 👍" |
hello-stephen
commented
Sep 4, 2023
(From new machine)TeamCity pipeline, clickbench performance test result: |
RoanHeNaN
commented
Sep 4, 2023
run buildall |
clang-tidy review says "All clean, LGTM! 👍" |
doris-robot
commented
Sep 4, 2023
(From new machine)TeamCity pipeline, clickbench performance test result: |
RoanHeNaN
commented
Sep 5, 2023
run buildall |
doris-robot
commented
Sep 5, 2023
(From new machine)TeamCity pipeline, clickbench performance test result: |
ea1b7f3 to
ea3f858CompareRoanHeNaN
commented
Sep 5, 2023
run buildall |
clang-tidy review says "All clean, LGTM! 👍" |
1 similar comment
clang-tidy review says "All clean, LGTM! 👍" |
doris-robot
commented
Sep 5, 2023
(From new machine)TeamCity pipeline, clickbench performance test result: |
RoanHeNaN
commented
Sep 5, 2023
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.
doris-robot
commented
Sep 5, 2023
(From new machine)TeamCity pipeline, clickbench performance test result: |
clang-tidy review says "All clean, LGTM! 👍" |
RoanHeNaN
commented
Sep 5, 2023
run FE UT |
RoanHeNaN
commented
Sep 6, 2023
run buildall |
doris-robot
commented
Sep 6, 2023
(From new machine)TeamCity pipeline, clickbench performance test result: |
| for (Backend be : currentBackends) { | ||
| curBeMap.put(be.getId(), be); | ||
| } | ||
| lock(); |
There was a problem hiding this comment.
use try (lock()) like RAII in cpp
There was a problem hiding this comment.
but here we do not have potential thrown exception? can we use try {lock()} finally {unlock();} either?
| } | ||
| lock(); | ||
| for (Long id : idToBackend.keySet()) { |
There was a problem hiding this comment.
这里为什么要判断这个idToBackend, 按道理说直接BackendExecStates 就行了吧?
There was a problem hiding this comment.
嗯,这里可以删掉,只用 BackendExecStates 跟 PipelineExecContext 也是可以的
There was a problem hiding this comment.
这里为什么要判断这个idToBackend, 按道理说直接BackendExecStates 就行了吧?
idToBackend 是用来记录 某个 coordinator 在 prepare阶段时候 所有 be 信息的 snapshot。感觉我们这里索引数据结构太多了,很容易用乱,需要一个 multi_index container 这种数据结构
clang-tidy review says "All clean, LGTM! 👍" |
1 similar comment
clang-tidy review says "All clean, LGTM! 👍" |
RoanHeNaN
commented
Sep 6, 2023
run buildall |
doris-robot
commented
Sep 6, 2023
(From new machine)TeamCity pipeline, clickbench performance test result: |
RoanHeNaN
commented
Sep 7, 2023
run buildall |
clang-tidy review says "All clean, LGTM! 👍" |
doris-robot
commented
Sep 7, 2023
(From new machine)TeamCity pipeline, clickbench performance test result: |
clang-tidy review says "All clean, LGTM! 👍" |
RoanHeNaN
commented
Sep 8, 2023
run buildall |
clang-tidy review says "All clean, LGTM! 👍" |
doris-robot
commented
Sep 8, 2023
(From new machine)TeamCity pipeline, clickbench performance test result: |
PR approved by at least one committer and no changes requested. |
PR approved by anyone and no changes requested. |
Proposed changes
This is the 2nd pr of #23704 , now we can cancel query if related backend restarts or dead. Privious pr is #23582