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

Updating SingleSegmentMergePlanOptions with MaxSegmentFileSize #2050

Merged
merged 1 commit into from
Jul 9, 2024

Conversation

Thejas-bhat
Copy link
Member

@Thejas-bhat Thejas-bhat commented Jul 9, 2024

There was a small oversight introduced in force merge paths, where MaxSegmentFileSize option was missing in the SingleSegmentMergePlanOptions. This lead to none of the segments being eligible for a force merge. (

if isEligible && segment.HasVector() && o.MaxSegmentFileSize > 0 {
)

Consequently I was observing that the force merge was a no op when I triggered the API. Currently, this value has been set to 1TB.

@abhinavdangeti abhinavdangeti added this to the v2.4.2 milestone Jul 9, 2024
@abhinavdangeti abhinavdangeti merged commit 306f1e9 into master Jul 9, 2024
9 checks passed
@abhinavdangeti abhinavdangeti deleted the maxSegFileSize branch July 9, 2024 15:59
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.

4 participants