fallintoplace opened a new pull request, #1594:
URL: https://github.com/apache/iceberg-go/pull/1594

   ## What changed
   
   Record the first physical write failure on a Puffin writer and reject every 
subsequent mutation, blob write, or finish attempt while preserving the 
original cause. Route blob and footer writes through the shared 
failure-tracking path.
   
   Add fault-injection coverage for partial failures during blob, footer magic, 
footer payload, and trailer writes, including zero additional writes afterward.
   
   ## Why
   
   An `io.Writer` may consume bytes and return an error. Reusing the Puffin 
writer afterward left its logical offset behind the physical stream and could 
emit corrupt metadata.
   
   ## Testing
   
   - `go test ./puffin`


-- 
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