zeroshade commented on PR #2542:
URL: https://github.com/apache/iceberg-go/pull/2542#issuecomment-7419087673

   Hi @richiebachala, checking in on this one. The design is agreed, and it'd 
be good to land the fix for #2195. Here's what's left:
   
   **Blocking**
   - In `performMergeOnReadDeletion`, a drop of one file with a DV plus one 
without currently validates only the file with the DV, so a peer's first DV on 
the other file can stay live on a removed file (@laskoviymishka has a repro). 
@badalprasadsingh's suggestion fixes it: a DV-only concurrent-DV check over 
**every** dropped v3 file (not `rewriteValidator`), marking the producer only 
when there are no partial deletes. That also closes the no-DV-drop gap `main` 
already has.
   - A test for that mixed case: the commit fails with 
`ErrConflictingDeleteFiles` and no live DV references a removed file.
   
   **Should fix**
   - Update the godocs that still say DV-removing commits are never replayed 
(`table.go` 356/389/422, `transaction.go` 2481/2552, `transaction_delete.go` 
313).
   - Add an unreleased compatibility note to `releases.md`: these commits now 
retry, and if a peer removed the same file they end in `ErrTransactionUnusable` 
wrapping `ErrCommitDiverged`, which doesn't match `ErrCommitFailed`.
   - Drop the "Not addressed here" section and fix the "nothing checks that 
file for a concurrent DV" comments (#2434's validator covers that case; keeping 
partial deletes non-replayable is fine as a conservative choice).
   - Rebase onto `main`, which now conflicts.
   
   If we haven't heard back by **December 15**, we'll take this over in a 
follow-up PR (crediting your work here) or close it in favor of a fresh one. 
Thanks again for the solid design and tests!
   


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