Gabriel39 opened a new pull request, #68633:
URL: https://github.com/apache/doris/pull/68633

   ### What problem does this PR solve?
   
   Related PR: #66227, #68562
   
   An interrupted Paimon dependency installation can leave a truncated header 
or a header/archive pair from different builds that the next build incorrectly 
reuses.
   
   Stage and validate the header before publishing either file, keep an 
incomplete-install marker until both publications succeed, and rebuild when 
that marker or an empty installed file is found. Tests inject header-copy and 
both rename failures for first installs and replacements, and verify successful 
repair on retry.
   
   ### Release note
   
   Fix reuse of incomplete Paimon dependency installations.
   
   ### Check List (For Author)
   
   - Test
     - [x] Unit Test: `python3 thirdparty/test/paimon-build-test.py` (16 tests 
passed)
     - [x] Manual test: `bash -n build.sh thirdparty/build-thirdparty.sh`
   - Behavior changed:
     - [x] Yes. Empty or interrupted Paimon installations trigger the existing 
full third-party rebuild.
   - Does this need documentation?
     - [x] No.
   
   ### Check List (For Reviewer who merge this PR)
   
   - [ ] Confirm the release note
   - [ ] Confirm test cases
   - [ ] Confirm document
   - [ ] Add branch pick label
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to