QuakeWang opened a new pull request, #1525: URL: https://github.com/apache/paimon-rust/pull/1525
### Purpose A primary-key deletion-vector table with lookup changelogs could publish an overwrite with its replacement rows still in L0. A batch reader could already see those rows, while a lookup stream starting at the same snapshot skipped them. A competing compaction could then emit an unchanged row as an INSERT or report an update as an INSERT. Reported in [the review of #1454](https://github.com/apache/paimon-rust/pull/1454#discussion_r4674610138). Reproduced independently on main. ### Brief change log With automatic compaction enabled, publish replacement rows at a positive level in the overwrite snapshot. Promote eligible disjoint files in place and merge overlapping runs before publication. Later lookup compaction uses the published rows as its before state. ### Tests Verified batch and stream bootstrap, complete changelogs from automatic and manual compaction, idempotent retry, and atomic publication of indexed data. ### API and Format No public API or storage format changes. ### Documentation Updated `docs/src/compaction.md` with overwrite visibility and staging-file cleanup behavior. -- 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]
