mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-02 08:59:09 +00:00
move ZenDiscovery.rejoin to protected
So we can override it from tests and plugins.
This commit is contained in:
parent
2c20658204
commit
a2f94f2e2f
@ -989,7 +989,7 @@ public class ZenDiscovery extends AbstractLifecycleComponent<Discovery> implemen
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private ClusterState rejoin(ClusterState clusterState, String reason) {
|
protected ClusterState rejoin(ClusterState clusterState, String reason) {
|
||||||
|
|
||||||
// *** called from within an cluster state update task *** //
|
// *** called from within an cluster state update task *** //
|
||||||
assert Thread.currentThread().getName().contains(InternalClusterService.UPDATE_THREAD_NAME);
|
assert Thread.currentThread().getName().contains(InternalClusterService.UPDATE_THREAD_NAME);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user