binarybrain-009 opened a new pull request, #19078:
URL: https://github.com/apache/iceberg/pull/19078

   When a rewrite's starting snapshot expires before commit, reading its 
sequence number throws an NPE. This adds a validation error containing the 
snapshot ID and allows the existing cleanup path to remove uncommitted output. 
Partial-progress commit failures remain tolerated. This follows the narrow 
diagnostic improvement Russell suggested in #17202; the earlier #17204 also 
proposed broader failure propagation, which is outside this change.
   
   Related to #17202.
   
   Test plan: expire a real starting snapshot and verify the diagnostic; 
exercise the commit service to verify that the failed group is excluded from 
results and its output is deleted. Both cases run for table format versions 
1–3. Run core tests and main/test Checkstyle after spotlessApply.
   
   ---
   **AI Disclosure**
   - Model: GPT-6.1 Sol (initial implementation); review model [unknown - human 
to fill in]
   - Platform/Tool: Codex
   - Human Oversight: unreviewed
   - Prompt Summary: Implement and review the narrow expired-snapshot 
diagnostic improvement discussed in #17202. The null guard and regression tests 
were generated.
   


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