-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Shrink api should ignore templates #25373
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
Shrink api should ignore templates #25373
Conversation
|
Since this is a community submitted pull request, a Jenkins build has not been kicked off automatically. Can an Elastic organization member please verify the contents of this patch and then kick off a build manually? |
|
@jasontedor I think it is still reasonable to extract anonymous class to inner class without refactoring so I will be able to keep unit test for IndexCreationTask. Do you agree? |
|
@fred84 A refactoring to make this unit testable is of course very much welcome but it being so large and mixing it with a bug fix is what I'm concerned with. Because the bug fix here is not tricky, I would lean towards fixing the bug first, and then refactoring. If you want to do it the other way, I'm fine with that, but let's do it in manageable bite-size chunks. 😄 |
|
@jasontedor Got it :-) I will make new pull request with bug fix only and keep this one for future discussion. |
|
@jasontedor Fix only PR: #25380 |
|
@jasontedor As fix #25380 is merged I'll create another PR with anonymous class converted to inner and with unit test. |
|
Thanks; since you're going to open a new pull request I will close this one. |
Aliases, mapping, customs and settings from templates should be ignored when shrinking index #25035