-
Notifications
You must be signed in to change notification settings - Fork 25k
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
Rename existing circuit breakers for clarity #62449
Comments
Pinging @elastic/es-core-infra (:Core/Infra/Circuit Breakers) |
Hey guys, Can I get this issue resolved? |
@lanerjo We appreciate your desire to improve the naming of circuit breaker settings. Naming is important; good names can ease configuration, and bad names can confuse. With that said, changing existing configuration names in Elasticsearch is not a trivial matter, it must be done with care, and we choose carefully when to undertake such changes due to the massive impact they can have. For these settings, the indices prefix is standard practice, so the prefix actually helps, rather than hurts, users to find the settings. It is possible there is still reason to make this change, but I don't see any justification in the description here, just a suggestion to remove the prefix. Could you please provide some reasoning why you think this change should be made? |
The existing naming convention implies that the circuit breakers apply to indices, when that is not the case. I do understand that this is not a trivial matter, you need to keep backwards compatibility for a period of time, to ensure that users have a chance to migrate to the new settings, and that a decision such as this should not be taken lightly. The circuit breakers can be tripped on requests that do not include indices, such as cluster state, and inter cluster communication. Thus this naming convention can be very misleading and compounding to an already difficult to diagnose scenario. |
We discussed this earlier today and came to the conclusion that we are not going to dedicate time and effort to making this change at this time. While we agree that the existing setting names are not ideal, we have to consider the effort involved in changing them on our part, and perhaps more importantly, the effort required of our users to change their configuration and any automation they may have in place around these settings. To give some perspective on what making this change would entail, we would have to:
Between this and the effort that would be required from our users, we have decided that the effort required to make this change could be used to greater benefit to our users elsewhere, and thus we have no immediate plans to make this change. If you (or another contributor) disagrees and wishes to put in the time and effort required for all of the steps above, we may accept the contribution. But as we have no plans to schedule this work on the core Elasticsearch team in the foreseeable future, I'm going to close this issue. |
@gwbrown You acknowledge that the names are not ideal, and decide that there is too much work involved to clarify this for your users, and not to rectify setting names that are misleading. Yet, changing a setting such as node.processors to processors which would've involved similar if not the same LOE. Then you state that the level of effort for your users that would be required citing configuration and automation?
This explanation and logic for choosing to not implement something that would benefit the community, does not make sense to me. |
There are a lot of features we can implement, bugs we can fix, and setting names we can change that would all be of benefit to the community - more than we will ever have the bandwidth to do. By closing this issue, we are not saying that we don't think this change would be a good idea. We're simply stating that we have chosen to invest the development bandwidth into items we believe will bring even more benefit to the community. What we decide to work on (and what not to work on) is always going to depend on a number of factors. Even changes which look similar from an outside perspective almost always have differing tradeoffs. For example, many of the changes to the I hope this clears up your confusion on the topic. |
And elasticsearch/distribution/src/bin/elasticsearch-env Lines 106 to 126 in 244fc95
That is, there were more compelling reasons to make this change that brought it over the hurdles that @gwbrown mentioned. |
Existing circuit breakers should be more appropriately named. eg.
The text was updated successfully, but these errors were encountered: