Uh oh!
There was an error while loading. Please reload this page.
[fix](load) handle Status in beta rowset writer - #25293
Conversation
clang-tidy review says "All clean, LGTM! 👍" |
dataroaring
commented
Oct 11, 2023
run buildall |
doris-robot
commented
Oct 11, 2023
TeamCity be ut coverage result: |
doris-robot
commented
Oct 11, 2023
(From new machine)TeamCity pipeline, clickbench performance test result: |
| if (_segcompaction_worker.get_file_writer()) { | ||
| static_cast<void>(_segcompaction_worker.get_file_writer()->close()); | ||
| WARN_IF_ERROR(_segcompaction_worker.get_file_writer()->close(), |
There was a problem hiding this comment.
Printing a warning here would not be enough. Since data may not be synced to disk if file writers close fail, causing data corruption in silence. I suggest we should return nullptr if shit happens.
kaijchen
commented
Oct 12, 2023
run buildall |
clang-tidy review says "All clean, LGTM! 👍" |
1 similar comment
clang-tidy review says "All clean, LGTM! 👍" |
doris-robot
commented
Oct 12, 2023
TeamCity be ut coverage result: |
doris-robot
commented
Oct 12, 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
Handle
Statusreturned from subroutine in beta rowset writer.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...