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

   ### What problem does this PR solve?
   
   Issue Number: None
   
   Related PR: None
   
   Problem Summary: In SelectDB Core 3.0.11.2, a Primary Key Bloom Filter page 
could fill the remaining 39,828 bytes of the first 5 MiB S3 buffer and then hit 
a CreateMultipartUpload failure. The pending buffer retained those bytes while 
bytes_appended stayed at 5,203,052. Because the Bloom Filter add error was 
ignored, later writes could upload the retained bytes and shift the physical 
object by 39,828 bytes.
   
   This PR adds a deterministic S3FileWriter unit test that recreates the exact 
boundary through PrimaryKeyBloomFilterIndexWriterImpl. It verifies the full 
pending buffer, the 39,828-byte accounting difference, no uploaded part, 
propagated IO error, and absence of invalid Bloom Filter footer metadata.
   
   ### Release note
   
   None
   
   ### Check List (For Author)
   
   - Test
       - [ ] Regression test
       - [x] Unit Test
       - [ ] Manual test
       - [ ] No need to test or manual test
   
     Compilation and execution skipped per request.
   
   - Behavior changed:
       - [x] No.
       - [ ] Yes.
   
   - Does this need documentation?
       - [x] No.
       - [ ] Yes.
   
   ### 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