paimon icon indicating copy to clipboard operation
paimon copied to clipboard

[Bug] The expired partition's file is not reflect in the Levels

Open Aitozi opened this issue 1 year ago • 1 comments

Search before asking

  • [X] I searched in the issues and found nothing similar.

Paimon version

master

Compute Engine

.

Minimal reproduce step

Currently, the levels only reflect updates to compaction before and after files. If the partition expires, the files are dropped in the committer operator without notifying the writer. This can result in a potentially inconsistent file view during lookup compaction process.

What doesn't meet your expectations?

.

Anything else?

No response

Are you willing to submit a PR?

  • [ ] I'm willing to submit a PR!

Aitozi avatar Jul 25 '24 12:07 Aitozi

This could lead to file conflicts or the FileNotFoundException

Aitozi avatar Jul 29 '24 11:07 Aitozi

https://github.com/apache/paimon/pull/3518 is to solve this.

JingsongLi avatar Aug 12 '24 08:08 JingsongLi

thanks

Aitozi avatar Aug 12 '24 11:08 Aitozi