-
Notifications
You must be signed in to change notification settings - Fork 25.3k
Update circuit_breaker.asciidoc #40755
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
Conversation
Thanks for your PR but I think there is a misconception. What you've changed is the circuit breaker setting for the limit and if you check the source code the documentation is already correct: Line 90 in ffc0b9b
The output in the node stats API is defined by this: elasticsearch/server/src/main/java/org/elasticsearch/common/breaker/CircuitBreaker.java Line 56 in ffc0b9b
I agree that it would be good if those two would be aligned but as this is a breaking change we can only introduce it in the next major version. As such I think this PR can be closed without merging but would you be up to create a PR for the change that I've proposed (note that this requires documenting it also in the breaking changes docs for 8.0.0). |
Hi Daniel,
I will have to dig into what you wrote a little bit. So please give me time for that.
…--
André Letterer, elastic.co
Support Engineer,
On 3. Apr 2019, at 10:45, Daniel Mitterdorfer ***@***.***> wrote:
Thanks for your PR but I think there is a misconception. What you've changed is the circuit breaker setting for the limit and if you check the source code the documentation is already correct:
https://github.com/elastic/elasticsearch/blob/ffc0b9bb170d6e887444d08d4bc1733de9e6f87e/server/src/main/java/org/elasticsearch/indices/breaker/HierarchyCircuitBreakerService.java#L90 <https://github.com/elastic/elasticsearch/blob/ffc0b9bb170d6e887444d08d4bc1733de9e6f87e/server/src/main/java/org/elasticsearch/indices/breaker/HierarchyCircuitBreakerService.java#L90>
The output in the node stats API is defined by this:
https://github.com/elastic/elasticsearch/blob/ffc0b9bb170d6e887444d08d4bc1733de9e6f87e/server/src/main/java/org/elasticsearch/common/breaker/CircuitBreaker.java#L56 <https://github.com/elastic/elasticsearch/blob/ffc0b9bb170d6e887444d08d4bc1733de9e6f87e/server/src/main/java/org/elasticsearch/common/breaker/CircuitBreaker.java#L56>
I agree that it would be good if those two would be aligned but as this is a breaking change we can only introduce it in the next major version.
As such I think this PR can be closed without merging but would you be up to create a PR for the change that I've proposed (note that this requires documenting it also in the breaking changes docs for 8.0.0).
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#40755 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/At5xYfhRUNzYE-ZbONpaaamORMXrruAIks5vdGoygaJpZM4cZNdw>.
|
Of course. Just ping if you have additional questions. |
Hi Daniel,
After reading your issue I got you point.
But the question is what should be the leading expression?
inflight_requests
or
in_flight_requests
?
--
André Letterer, elastic.co
Support Engineer,
… On 3. Apr 2019, at 11:08, Daniel Mitterdorfer ***@***.***> wrote:
Of course. Just ping if you have additional questions.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#40755 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/At5xYQfTaODQiy4uFyEoSIIB4-1Wa11Iks5vdG-ogaJpZM4cZNdw>.
|
IMHO the less invasive change is to settle on |
Yes, absolutely. This is what I thought as well.
--
André Letterer, elastic.co
Support Engineer,
… On 4. Apr 2019, at 11:22, Daniel Mitterdorfer ***@***.***> wrote:
IMHO the less invasive change is to settle on inflight_requests as the name. This only changes the name in log output and node stats output but avoids breaking all related settings (it is still a breaking change but the scope is smaller). Does this make sense?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#40755 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/At5xYdlYFt5dwpC-irgpyA6JaIeYbx90ks5vdcRxgaJpZM4cZNdw>.
|
Tested http://localhost:9200/_nodes/stats/breaker
and found out that the in flight requests are divided with underscores.
This is wrong some versions already.