Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[core] Fix collecting wrong sorted runs when compacting on custom branch #2950

Closed
wants to merge 3 commits into from

Conversation

schnappi17
Copy link
Contributor

Purpose

Linked issue: subtask #2861

When writing to a custom branch, the compaction within writer will picking the wrong sorted runs on the 'main' branch to compact, which will cause the commit conflict, like willing to delete files which never been added.

Tests

API and Format

Documentation

Copy link
Contributor

Choose a reason for hiding this comment

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

@schnappi17 Does prepareCommit() also need to be processed?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@sunxiaojian You mean the calculation of latestCommittedIdentifier?

Copy link
Contributor

Choose a reason for hiding this comment

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

You mean the calculation of latestCommittedIdentifier?

@schnappi17 yes

@sunxiaojian
Copy link
Contributor

@schnappi17 If #3029 Merged, do we no longer need the current processing method ?

@schnappi17
Copy link
Contributor Author

Fixed in #3029, close this.

@schnappi17 schnappi17 closed this May 29, 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.

None yet

2 participants