hectar-glitches opened a new pull request, #1022: URL: https://github.com/apache/iceberg-go/pull/1022
## Summary This PR gates validator registration on a new `needsValidation() bool` method on the `producerImpl` interface: - `fastAppendFiles` returns `false`: appends are commutative and need no conflict checks - `mergeAppendFiles` inherits `false` via embedding - `overwriteFiles` returns `true`: real conflict validation required - `snapshotProducer.commit()` skips registration when `needsValidation()` is false The no-op `validate()` methods are kept as belt-and-suspenders. Behavior is locked with two unit tests asserting that fast-append and merge-append commits leave `txn.validators` empty. Parent: #830 -- 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]
