Skip to content

[core] Update possible reasons for commit conflicts#3518

Closed
tsreaper wants to merge 1 commit intoapache:masterfrom
tsreaper:commit-conflict
Closed

[core] Update possible reasons for commit conflicts#3518
tsreaper wants to merge 1 commit intoapache:masterfrom
tsreaper:commit-conflict

Conversation

@tsreaper
Copy link
Copy Markdown
Contributor

Purpose

We recently found that, if data is written into expired partitions, commit conflicts may occur.

It is not easy to completely work around this scenario, so currently we prefer users to filter out expired data by themselves. This PR updates possible reasons for commit conflicts to remind the users.

Tests

No tests.

API and Format

No API changes.

Documentation

No new features.

" You can either recover from the latest savepoint, "
+ "or you can revert the table to the snapshot corresponding to the old savepoint.");
+ "or you can revert the table to the snapshot corresponding to the old savepoint.",
"4. The parallelism of committer, or the parallelism of compact coordinator (for append only scalable table) is not 1.");
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't need this if we have runtime check.

+ "(most probably due to checkpoint timeout).",
" See https://paimon.apache.org/docs/master/maintenance/write-performance/ "
+ "for how to improve writing performance.",
"1. Data is written into expired partitions.",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we can check delete files and know it is the true reason?

@tsreaper
Copy link
Copy Markdown
Contributor Author

Also related to #3340.

@JingsongLi
Copy link
Copy Markdown
Contributor

Fixed in #3945

@JingsongLi JingsongLi closed this Aug 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants