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

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

The new {{StallDetectionTest}} added by this Jira is failing ~10% of the 
jenkins builds that run it...
{noformat}

Build: https://jenkins.thetaphi.de/job/Solr-main-Linux/24903/
Java: 64bit/hotspot/jdk-25-ea+15 -XX:-UseCompressedOops -XX:+UseSerialGC

1 tests failed.
FAILED:  
org.apache.solr.client.solrj.impl.StallDetectionTest.testConcurrentAccess

Error Message:
java.lang.AssertionError: Exception was thrown during concurrent operation

Stack Trace:
java.lang.AssertionError: Exception was thrown during concurrent operation
        at 
__randomizedtesting.SeedInfo.seed([63F07F23503D1AB2:ACED402231B8E7E1]:0)
        at org.junit.Assert.fail(Assert.java:89)
        at org.junit.Assert.assertTrue(Assert.java:42)
        at org.junit.Assert.assertFalse(Assert.java:65)
        at 
org.apache.solr.client.solrj.impl.StallDetectionTest.testConcurrentAccess(StallDetectionTest.java:351)

{noformat}

> The stall detection in the ConcurrentUpdateSolrClients easily detects false 
> positives.
> --------------------------------------------------------------------------------------
>
>                 Key: SOLR-17294
>                 URL: https://issues.apache.org/jira/browse/SOLR-17294
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Mark Robert Miller
>            Assignee: Mark Robert Miller
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 2h 10m
>  Remaining Estimate: 0h
>
> The current stall detection mechanism in the ConcurrentUpdateSolrClients is 
> prone to generating false positives, especially under load. As pointed out by 
> Jason, the existing approach simply intermittently monitors the queue size 
> over time to detect stalls. However, this method is insufficient because the 
> queue can report being full for extended periods when the system is under 
> load, even if no actual stall has occurred.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org
For additional commands, e-mail: issues-h...@solr.apache.org

Reply via email to