Skip to content

Conversation

@original-brownbear
Copy link
Contributor

  • None of these methods are used anywhere

Just a random find while researching something else :)

* None of these methods are used anywhere
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra

}

/** asserts that the current thread is the cluster state update thread */
public static boolean assertClusterStateUpdateThread() {
Copy link
Member

Choose a reason for hiding this comment

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

I am looking into the history of why this method is no longer used. We definitely use to assert this from, for example, ZenDiscovery at least as recently as the 5.6 days.

Copy link
Member

Choose a reason for hiding this comment

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

Okay, this makes sense. It happened when we separated the cluster applier service from the master service.

Copy link
Member

@jasontedor jasontedor left a comment

Choose a reason for hiding this comment

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

LGTM.

@original-brownbear
Copy link
Contributor Author

@jasontedor thanks!

@original-brownbear original-brownbear merged commit 4156cc3 into elastic:master Sep 5, 2018
@original-brownbear original-brownbear deleted the remove-dead-methods-cluster-state-service branch September 5, 2018 10:08
original-brownbear added a commit to original-brownbear/elasticsearch that referenced this pull request Sep 5, 2018
* None of these methods are used anywhere
Copy link
Contributor

@bleskes bleskes left a comment

Choose a reason for hiding this comment

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

LGTM2

original-brownbear added a commit that referenced this pull request Sep 5, 2018
* None of these methods are used anywhere
jasontedor added a commit to jasontedor/elasticsearch that referenced this pull request Sep 5, 2018
* master:
  Fix deprecated setting specializations (elastic#33412)
  HLRC: split cluster request converters (elastic#33400)
  HLRC: Add ML get influencers API (elastic#33389)
  Add conditional token filter to elasticsearch (elastic#31958)
  Build: Merge xpack checkstyle config into core (elastic#33399)
  Disable IndexRecoveryIT.testRerouteRecovery.
  INGEST: Implement Drop Processor (elastic#32278)
  [ML] Add field stats to log structure finder (elastic#33351)
  Add interval response parameter to AutoDateInterval histogram (elastic#33254)
  MINOR+CORE: Remove Dead Methods ClusterService (elastic#33346)
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.

5 participants