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

adding default number_of_shared to 1 for optimization #129

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jinesh90
Copy link

Issue #, if available:

Description of changes:
adding default number_of_shared to 1 for optimization

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

@AustinTag
Copy link
Contributor

Can you provide a little more context as to the previous/new behavior, and what problem this change fixes?

Also if you could detail some of the testing you did, that would be helpful.

@jinesh90
Copy link
Author

By default, number_of_shared is 5 and when index created it occupied 5 shared , we have some case where we are creating index every day for multiple occasion.(~100 per day). now if logstash is defaulting to 5 shared then ES is creating ~100 * 5 *2 (for back up) ~1000 shared and eventually it hits upper limit and stop accepting data. so if i set this params, it will create 200 shared per day.

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