akritishakya commented on PR #2678: URL: https://github.com/apache/iceberg-go/pull/2678#issuecomment-7125203697
@zeroshade Thanks for the review. - Updated. The staging-time duplicate check now also records the manifest paths of the planned parent, and `checkDuplicatePaths` skips those manifests on retry, so only manifests added by concurrent commits are read. The paths are recorded at staging rather than resolved on retry, since snapshot expiry can remove the planned parent along with its manifest list. I also updated the comment in `checkRemovedFiles`. - Added `TestAddDataFilesByPath_ConcurrentDuplicateRejectedWithManifestMerge`, which enables `commit.manifest-merge.enabled`. It fails without the fix. - Both functions now store `maps.Clone` of the set. - `ReplaceDataFiles` and `ReplaceDataFilesByPath` are handled elsewhere under the default serializable isolation: both use the overwrite producer, whose default validator rejects any data file added by a concurrent commit, so the retry fails instead of adding the file twice. With `write.update.isolation-level=snapshot`, that validator is skipped and they have the same gap. -- 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]
