-
Notifications
You must be signed in to change notification settings - Fork 674
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
SOLR-16954: Fix test failure in UPDATE circuit breaker #1896
SOLR-16954: Fix test failure in UPDATE circuit breaker #1896
Conversation
I guess this failing test also begs the question whether the memory breaker is too trigger happy, tripping for a spike during a ms memory pressure. If we had an average memory pressure over N seconds that would be so much better. Does not dropwizard provide such, or would we need to roll our own? |
I think the intention of including the update breaker in the config was to exercise the initialization. So another approach could be to keep it but increase the threshold to 99% or something... |
I like that idea. And if it still causes regular issues at 99% or so threshold then removal is still an option. Or then another option could be to sub-class the update handler, configure the sub-classed update handler and have it ignore the circuit breaker when some magic field is part of the test setup update requests. |
(cherry picked from commit aeea7bc)
(cherry picked from commit aeea7bc)
(cherry picked from commit aeea7bc)
(cherry picked from commit aeea7bc)
https://issues.apache.org/jira/browse/SOLR-16954
The tests ran fine both on localhost and github actions, but on Jenkins this one tripped during indexing content in
indexDocs()
. Must be some difference in memory handling, perhaps how many tests are ran in parallel in Jeknins vs GitHub actions/Crave, or the-Xmx
setting??Output from failing test:
383Mb threshold suggests that the VM is ran with 512Mb RAM, which makes sense.