[ 
https://issues.apache.org/jira/browse/SOLR-16954?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17764331#comment-17764331
 ] 

Chris M. Hostetter commented on SOLR-16954:
-------------------------------------------

Jan: changing from 75% to 99% isn't eliminating the failure, just changing the 
probabilities that they happen.

The Memory Circuit Breaker needs to be completely removed from the config to 
prevent these false failures.

 
{noformat}
 org.apache.solr.util.TestCircuitBreaker > classMethod FAILED
    org.apache.solr.common.SolrException: Circuit Breakers tripped Memory 
Circuit Breaker triggered as JVM heap usage values are greater than allocated 
threshold.Seen JVM heap memory usage 388037288 and allocated threshold 384958464
        at __randomizedtesting.SeedInfo.seed([D0BF94829CAAAF4F]:0)
        at 
app//org.apache.solr.handler.ContentStreamHandlerBase.checkCircuitBreakers(ContentStreamHandlerBase.java:131)
        at 
app//org.apache.solr.handler.ContentStreamHandlerBase.handleRequestBody(ContentStreamHandlerBase.java:59)
        at 
app//org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:224)
        at app//org.apache.solr.core.SolrCore.execute(SolrCore.java:2890)
        at 
app//org.apache.solr.servlet.DirectSolrConnection.request(DirectSolrConnection.java:113)
        at app//org.apache.solr.util.TestHarness.update(TestHarness.java:298)
        at 
app//org.apache.solr.util.BaseTestHarness.checkUpdateStatus(BaseTestHarness.java:270)
        at 
app//org.apache.solr.util.BaseTestHarness.validateUpdate(BaseTestHarness.java:238)
        at 
app//org.apache.solr.SolrTestCaseJ4.checkUpdateU(SolrTestCaseJ4.java:936)
        at app//org.apache.solr.SolrTestCaseJ4.assertU(SolrTestCaseJ4.java:918)
        at app//org.apache.solr.SolrTestCaseJ4.assertU(SolrTestCaseJ4.java:913)
        at 
app//org.apache.solr.util.BaseTestCircuitBreaker.indexDocs(BaseTestCircuitBreaker.java:47)
        at 
app//org.apache.solr.util.TestCircuitBreaker.setUpClass(TestCircuitBreaker.java:31)
{noformat}
 

 

 

> Circuit breaker for update requests
> -----------------------------------
>
>                 Key: SOLR-16954
>                 URL: https://issues.apache.org/jira/browse/SOLR-16954
>             Project: Solr
>          Issue Type: New Feature
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: Circuit Breakers
>            Reporter: Jan Høydahl
>            Assignee: Jan Høydahl
>            Priority: Major
>             Fix For: 9.4
>
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> Provide a way to utilize any circuit breaker for update requests.
> The idea is that any CircuitBreaker plugin should be able to register for 
> SEARCH and/or UPDATE request types. The CB registry will keep track of these 
> individually and provide methods to poll whether a CB has tripped for the 
> given request type.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to