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

[Feature Request] How to set LogByteSizeMergePolicy minMergeSize ? #14024

Closed
weily2 opened this issue Jun 6, 2024 · 2 comments
Closed

[Feature Request] How to set LogByteSizeMergePolicy minMergeSize ? #14024

weily2 opened this issue Jun 6, 2024 · 2 comments
Labels
enhancement Enhancement or improvement to existing feature or request Indexing Indexing, Bulk Indexing and anything related to indexing untriaged

Comments

@weily2
Copy link

weily2 commented Jun 6, 2024

Is your feature request related to a problem? Please describe

I can set maxMergeSizeMB by add index.merge.policy.max_merged_segment in index settings ,but how to set minMergeSize , is there a dynamic settings ?

Describe the solution you'd like

is there a dynamic settings to set minMergeSize ?

Related component

Indexing

Describe alternatives you've considered

No response

Additional context

No response

@weily2 weily2 added enhancement Enhancement or improvement to existing feature or request untriaged labels Jun 6, 2024
@github-actions github-actions bot added the Indexing Indexing, Bulk Indexing and anything related to indexing label Jun 6, 2024
@msfroh
Copy link
Collaborator

msfroh commented Jun 9, 2024

It looks like there is a setting called index.merge.log_byte_size_policy.min_merge:

public static final Setting<ByteSizeValue> INDEX_LBS_MERGE_POLICY_MIN_MERGE_SETTING = Setting.byteSizeSetting(
"index.merge.log_byte_size_policy.min_merge",
DEFAULT_MIN_MERGE, // keeping it same as default floor segment for tiered merge policy
Setting.Property.Dynamic,
Setting.Property.IndexScope
);

@andrross
Copy link
Member

[Triage - attendees 1 2 3 4 5]

Thanks @weily2. It looks like @msfroh has provided an answer. In the future, I'd recommend using the forum or slack for questions and help like this. Generally, GitHub issues are intended for feature requests and bugs more than support. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancement or improvement to existing feature or request Indexing Indexing, Bulk Indexing and anything related to indexing untriaged
Projects
None yet
Development

No branches or pull requests

3 participants