Uh oh!
There was an error while loading. Please reload this page.
branch-4.0: [fix](be) Poll packed file async close without blocking #62938 - #63531
Conversation
fix: apache#57770 This change adds a non-blocking try_finish_close() hook to FileWriter and implements it for S3FileWriter. PackedFileManager now polls the async close result instead of calling close(true) repeatedly while packed files are uploading. The change avoids re-submitting async close work and lets packed file upload state transition only after the previous async close has actually completed. It also propagates async close failures back into the packed file state so failed uploads are recorded correctly. A ut test was added to verify that PackedFileManager polls async close without blocking or issuing an extra close call, and that async close failures are handled as packed file upload failures.
wyxxxcat
commented
May 22, 2026
run buildall |
hello-stephen
commented
May 22, 2026
BE Regression && UT Coverage ReportIncrement line coverage Increment coverage report
|
wyxxxcat
commented
May 26, 2026
/review |
There was a problem hiding this comment.
I found blocking issues in this PR. Critical checkpoints: build correctness is at risk because a newly introduced std::this_thread usage is missing its required standard header; regression coverage is not reliable because the new cloud packed-file test disables packed files and therefore does not exercise the PackedFileManager async-close path being changed. Existing review context had no prior inline threads, and there were no additional user focus points to address.
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.
pick: #62938