Uh oh!
There was an error while loading. Please reload this page.
[fix][mow] segment_creator should not flush data when encouter abnormal exit - #33802
Conversation
doris-robot
commented
Apr 17, 2024
Thank you for your contribution to Apache Doris. Since 2024-03-18, the Document has been moved to doris-website. |
hust-hhb
commented
Apr 17, 2024
run buildall |
clang-tidy review says "All clean, LGTM! 👍" |
| BaseBetaRowsetWriter::~BaseBetaRowsetWriter() { | ||
| // TODO(lingbin): Should wrapper exception logic, no need to know file ops directly. | ||
| if (!_already_built) { // abnormal exit, remove all files generated | ||
| WARN_IF_ERROR(_segment_creator.close(), |
There was a problem hiding this comment.
we may need to check if the state of this writer.
PR approved by at least one committer and no changes requested. |
PR approved by anyone and no changes requested. |
doris-robot
commented
Apr 17, 2024
TPC-H: Total hot run time: 38711 ms |
doris-robot
commented
Apr 17, 2024
TeamCity be ut coverage result: |
doris-robot
commented
Apr 17, 2024
TPC-DS: Total hot run time: 184973 ms |
doris-robot
commented
Apr 17, 2024
ClickBench: Total hot run time: 30.55 s |
doris-robot
commented
Apr 17, 2024
Load test result on machine: 'aliyun_ecs.c7a.8xlarge_32C64G' |
when encouter abnormal exit, the data maybe inconsistent in primary_key_index, and no need to flush data, so should not call close in here.
Proposed changes
Issue Number: close #xxx
Further comments
If this is a relatively large or complex change, kick off the discussion at dev@doris.apache.org by explaining why you chose the solution you did and what alternatives you considered, etc...