JingsongLi commented on PR #659: URL: https://github.com/apache/paimon-rust/pull/659#issuecomment-5164130072
`TableWrite::prepare_commit` declares that the writer is reusable, but the fixed-bucket state is cleared after each `prepare`. If the writer is reused before the first message has been committed, the second batch will re-derive the number of buckets based on the old snapshot, and subsequent commits may conflict due to inconsistencies in `total_buckets` for the same partition. The reference implementation restricts this pattern to a one-shot operation. -- 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]
