apache / apache/paimon

[Feature] Conflicts during Compactions Better coping strategies,Instead of restarting

Open
#3,143 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Java
Stars
3.4k
Forks
1.4k
Avg merge
1d 11h
Merged PRs (30d)
396

Description

### Search before asking

- [X] I searched in the [issues](https://github.com/apache/paimon/issues) and found nothing similar.

### Motivation

We have a flink task,only one commit user ,and set 'changelog-producer' = 'lookup', and other compact propreties are default value.
flink checkpoint.interval =20s, and max-concurrent-checkpoints=3, restarts are triggered frequently throughout the day.

and the error message looks like the following:
`Caused by: java.lang.IllegalStateException: Trying to delete file xxxx.orc which is not previously added. Manifest might be corrupted.`

### Solution

We want to write a bucket in a single task, and we can adopt different coping strategies

1. Give up this compact, he did not have a great impact, but the small file merge is slow
2.Ignore the delete conflict in this compact and commit directly

### Anything else?

I don't know if the community is interested in doing these things, or if there are any problems with them?

### Are you willing to submit a PR?

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

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the reported Flink setup with changelog-producer set to lookup, a 20-second checkpoint interval, and three concurrent checkpoints. Read the compaction conflict handling around the “Trying to delete file” error, then clarify which coping strategy the community wants and define completion as handling that conflict without frequent task restarts.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
data-engineering
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.