DanielLeens commented on PR #12881:
URL: https://github.com/apache/seatunnel/pull/12881#issuecomment-6966737587

   Sorry for missing the failure-cleanup wiring in my earlier review. Thanks, 
@SEZ9, for the concrete call-chain evidence. I checked the current `960df12f18` 
source against your points rather than treating the successful Build as a 
rebuttal.
   
   +1 to your Issue 3: `IcebergSinkWriter.close():153` calls 
`IcebergRecordWriter.close()`, but that class does not override 
`RecordWriter.close():39`, whose default is empty. Its write/complete failure 
paths also do not call the new `DeletionVectorTaskWriter.abort():259`. Thus the 
new attempt-file tracking and stream cleanup are not connected to the 
production failure path. The fact that the older v2 path has a related omission 
does not make the newly added v3 cleanup effective. Please connect cleanup at 
the record-writer ownership boundary and cover failure/cancellation through the 
sink, keeping files already handed to checkpoint commit ownership safe. 
Documentation alone is not a substitute for closing live streams.
   
   I also confirmed your legacy-scan observation (Issue 2): 
`pendingResults():142-169` materializes the matching un-fingerprinted 
ancestors' added files on each invocation, and commit calls it for fresh 
payloads too. The Spark epoch-zero mapping to checkpoint 1 makes the 
repeated-ID example reachable. The bounded reuse/cost guidance should be 
addressed alongside your migration and operator-context points (Issues 1, 4 and 
5). I agree the metadata-size and unused probe/import notes (Issues 6 and 7) 
are optional; I would not require shortening the digest without a separate 
identity/collision trade-off analysis.
   
   My earlier source-clear/technical-approval statement is withdrawn while the 
verified failure-cleanup issue remains. The Apache and exact-head fork Builds 
are still successful, but they do not clear this source blocker. No new 
numbered duplicate finding or full re-review is being claimed by this focused 
reply; your current-head review remains the shared checklist. Daniel has READ 
permission, so a write-capable maintainer must separately handle any effective 
historical approval or dismissal state.


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

Reply via email to