-
Notifications
You must be signed in to change notification settings - Fork 25.3k
MINOR+CORE: Remove Dead Methods ClusterService #33346
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
MINOR+CORE: Remove Dead Methods ClusterService #33346
Conversation
* None of these methods are used anywhere
Pinging @elastic/es-core-infra |
…s-cluster-state-service
…s-cluster-state-service
@@ -349,13 +342,6 @@ private void submitStateUpdateTask(final String source, final ClusterStateTaskCo | |||
} | |||
} | |||
|
|||
/** asserts that the current thread is the cluster state update thread */ | |||
public static boolean assertClusterStateUpdateThread() { |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
@jasontedor thanks! |
* None of these methods are used anywhere
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM2
* 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)
Just a random find while researching something else :)