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

feat: Fix the outdated segmentCache selection strategy runtime config #11

Merged

Conversation

sydefz
Copy link
Contributor

@sydefz sydefz commented Mar 12, 2024

Description of changes:
The default strategy used to select a location to store segment cache is out of date, this PR follows the latest document (https://druid.apache.org/docs/latest/configuration/#storing-segments) and fix the strategy selection.

The changes is tested with the following disk setup, segments are correctly stored onto /mnt/disk3 as it has more available size.

/dev/nvme1n1     1.1G   71M  880M   8% /mnt/disk2
/dev/nvme2n1     295G   14M  280G   1% /mnt/disk3

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@chn217 chn217 merged commit 56544a1 into aws-solutions:main Mar 12, 2024
@chn217 chn217 self-requested a review March 12, 2024 04:50
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