raunaqmorarka opened a new pull request, #17754:
URL: https://github.com/apache/iceberg/pull/17754

   Concurrent RowDelta commits that add DVs for the same data file always fail 
validation with `Found concurrently added DV`, even though position deletes are 
commutative. Under concurrent DELETE workloads on V3 tables this makes commits 
fail without any real conflict.
   
   When the RowDelta does not add or remove data files and 
`validateNoConflictingDeleteFiles` is not enabled, this change merges the 
concurrently added DV into the operation's DV for the same data file instead of 
failing. The V3 spec requires a DV to include all deleted positions from the DV 
it replaces, so the newest concurrent DV for a data file contains the content 
of all older ones. That DV is removed from the table and its content is merged 
into the new DV. Pending removals of delete files for that data file are 
dropped because the concurrent commits already removed them. Merged puffin 
files written by invalidated commit attempts are deleted on retry and on commit 
failure.


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