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

Core: Remove two methods from AbstractComponent #34336

Merged
merged 2 commits into from
Oct 15, 2018

Conversation

nik9000
Copy link
Member

@nik9000 nik9000 commented Oct 5, 2018

This removes another two methods from AbstractComponent. One isn't
used at all and another is only used in a single class in our resource
watcher to log messages about settings we removed years ago. I've
dropped the logging and removed that method as well.

This removes another two methods from `AbstractComponent`. One isn't
used at all and another is only used in a single class in watcher. I've
moved the method that watcher uses into the single class that uses it.
@nik9000 nik9000 added :Core/Infra/Core Core issues without another label v7.0.0 >refactoring v6.5.0 labels Oct 5, 2018
@nik9000 nik9000 requested a review from rjernst October 5, 2018 17:19
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra

@nik9000
Copy link
Member Author

nik9000 commented Oct 8, 2018

I talked to @jasontedor today who suggested removing the watcher invocation of this method. These settings are very old and we've warned about them for a few major versions.

Copy link
Member

@rjernst rjernst left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@nik9000 nik9000 merged commit 23ece92 into master Oct 15, 2018
@nik9000
Copy link
Member Author

nik9000 commented Oct 15, 2018

Thanks for reviewing @rjernst! I've merged and will backport to 6.x.

jasontedor added a commit to jasontedor/elasticsearch that referenced this pull request Oct 15, 2018
* master:
  Do not update number of replicas on no indices (elastic#34481)
  Core: Remove two methods from AbstractComponent (elastic#34336)
  Use RoleRetrievalResult for better caching (elastic#34197)
  Revert "Search: Fix spelling mistake in Javadoc (elastic#34480)"
  Search: Fix spelling mistake in Javadoc (elastic#34480)
  Docs: improve formatting of Query String Query doc page (elastic#34432)
  Tests: Handle epoch date formatters edge cases (elastic#34437)
  Test: Fix running with external cluster
  Fix handling of empty keyword in terms aggregation (elastic#34457)
  [DOCS] Fix tag in SecurityDocumentationIT
  [Monitoring] Add additional necessary mappings for apm-server (elastic#34392)
  SCRIPTING: Move Aggregation Script Context to its own class (elastic#33820)
  MINOR: Remove Deadcode in  ExpressionTermSetQuery (elastic#34442)
  HLRC: Get SSL Certificates API (elastic#34135)
nik9000 added a commit that referenced this pull request Oct 16, 2018
This removes another two methods from `AbstractComponent`. One isn't
used at all and another is only used in a single class in watcher. I've
moved the method that watcher uses into the single class that uses it.
kcm pushed a commit that referenced this pull request Oct 30, 2018
This removes another two methods from `AbstractComponent`. One isn't
used at all and another is only used in a single class in watcher. I've
moved the method that watcher uses into the single class that uses it.
@jimczi jimczi added v7.0.0-beta1 and removed v7.0.0 labels Feb 7, 2019
@colings86 colings86 deleted the abstract_component_smaller_still branch May 27, 2020 07:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants