You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@paimon.apache.org by "tsreaper (via GitHub)" <gi...@apache.org> on 2024/02/21 10:43:37 UTC
[PR] [core] Fix bug that changelog may not be produced when setting changelog-producer.lookup-wait to false [incubator-paimon]
tsreaper opened a new pull request, #2885:
URL: https://github.com/apache/incubator-paimon/pull/2885
### Purpose
In `AbstractFileStoreWrite#prepareCommit`, if a writer does not produce any new `CommitIncrement` and all previous `CommitIncrement`s have been committed, we'll close this writer.
However, this writer may have an ongoing compaction (possibly triggered by lookup changelog producer). If we ignore this compaction and close the writer, we'll interrupt the compaction and thus interrupt changelog producing.
This PR fixes the bug by checking if a writer has an ongoing compaction.
### Tests
* `TableWriteTest#testChangelogWhenNotWaitForCompaction`
### API and Format
No.
### Documentation
No.
--
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: issues-unsubscribe@paimon.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [core] Fix bug that changelog may not be produced when setting changelog-producer.lookup-wait to false [incubator-paimon]
Posted by "JingsongLi (via GitHub)" <gi...@apache.org>.
JingsongLi merged PR #2885:
URL: https://github.com/apache/incubator-paimon/pull/2885
--
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: issues-unsubscribe@paimon.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org