-
Notifications
You must be signed in to change notification settings - Fork 718
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
Review Elasticsearch Status Subresource #1781
Comments
Yes, it's just an optimization to avoid an http request on ES, it can be removed. |
After some offline discussions the consensus seems to remove all fields mentioned in the OP |
At least in a first step, I think it'd be better if we move that one ( |
Agreed and I did just that in #1790. But I think we are a bit arbitrary in our choices of what we deem worthy of optimisation. To give an example: |
4 out of 6 attributes exist only for internal debugging and orchestration purposes. We should reconsider if they have a place in the status resource.
ClusterUUID
: used to test whether we lose cluster state on upgrades, no relevance for usersMasterNode
: purely informational and replicating information readily available from ES, we generate an event when a change is observedExternalService
this is static information, available via documentation, there is absolutely no point having this as a status attribtue@sebgl suggested that the attributes that cannot be removed could be turned into annotations
I suggest:
ClusterUUID
keepMasterNode
remove without replacementExternalServcie
remove without replaceentZenDiscovery
removal, or if we decide we want to keep this optimisation, turn it into an annotation (why? Zen1 is on its way out, way too much prominence in the status)Related to #1141
The text was updated successfully, but these errors were encountered: