Skip to content

Conversation

itaigilo
Copy link
Contributor

@itaigilo itaigilo commented Sep 17, 2025

Change Description

Allowing an extension for the merge conflict resolution logic.

Will be used by the (Enterprise) compaction conflicts resolver.

@itaigilo itaigilo added exclude-changelog PR description should not be included in next release changelog minor-change Used for PRs that don't require issue attached labels Sep 17, 2025
@itaigilo itaigilo marked this pull request as draft September 17, 2025 15:03
@itaigilo itaigilo marked this pull request as ready for review September 18, 2025 21:35
"github.com/treeverse/lakefs/pkg/graveler"
)

func BuildConflictsResolver(blockAdapter block.Adapter, valueToPath graveler.ValueToPathFunc) graveler.ConflictsResolver {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

The ValueToPathFunc is needed by the (Enterprise) conflicts resolver, to get the physical path from a given ValueRecord.
It uses catalog objects, so moving it into graveler creates circular deps.

If you can think of a cleaner way of getting the BuildConflictsResolver access to this ValueToPathFunc, please share.

@itaigilo itaigilo requested review from a team, N-o-Z and nopcoder and removed request for N-o-Z September 18, 2025 21:58
@itaigilo
Copy link
Contributor Author

Created V2,
Closing this one.

@itaigilo itaigilo closed this Sep 24, 2025
@itaigilo itaigilo deleted the feature/extend-merge-conflicts-resolution branch September 29, 2025 14:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

exclude-changelog PR description should not be included in next release changelog minor-change Used for PRs that don't require issue attached

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant