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

set a specific shard id to force merge and clean commit logs. #76400

Conversation

HowookJeong
Copy link

This is force merge about a specific shard of index using _routing.

When we use _routing, a specific shard increase a lot of segment files and shard size.

I think, it doesn't need to force merge all shard of index.

Thanks.

  • Have you signed the contributor license agreement?
  • Have you followed the contributor guidelines?
  • If submitting code, have you built your formula locally prior to submission with gradle check?
  • If submitting code, is your pull request against master? Unless there is a good reason otherwise, we prefer pull requests against master and will backport as needed.
  • If submitting code, have you checked that your submission is for an OS and architecture that we support?
  • If you are submitting this code for a class then read our policy for that.

@cla-checker-service
Copy link

❌ Author of the following commits did not sign a Contributor Agreement:
9e1cdfa

Please, read and sign the above mentioned agreement if you want to contribute to this project

@elasticsearchmachine elasticsearchmachine added external-contributor Pull request authored by a developer outside the Elasticsearch team v8.0.0 labels Aug 12, 2021
@HowookJeong
Copy link
Author

I already signed a Contributor Agreement.
Please_DocuSign_Individual_Contributor_Licen .pdf

@HowookJeong HowookJeong reopened this Aug 12, 2021
@HowookJeong HowookJeong marked this pull request as ready for review August 13, 2021 06:48
@jtibshirani jtibshirani added the :Data Management/Indices APIs APIs to create and manage indices and templates label Aug 20, 2021
@elasticmachine elasticmachine added the Team:Data Management Meta label for data/management team label Aug 20, 2021
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-features (Team:Core/Features)

@dakrone
Copy link
Member

dakrone commented Sep 30, 2021

Thanks for opening this @HowookJeong. We did discuss this as a team, however, we decided that this is an edge case that we don't currently want to support. Doing this kind of force merging would make debugging segmentation issues harder and also integrating it into ILM would be very difficult. For now I am going to close this, but if there is enough interest in the future we can always revisit it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Data Management/Indices APIs APIs to create and manage indices and templates external-contributor Pull request authored by a developer outside the Elasticsearch team Team:Data Management Meta label for data/management team v8.0.0-beta1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants