lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-3180) ChaosMonkey test failures
Date Wed, 29 Feb 2012 14:37:58 GMT

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

Yonik Seeley commented on SOLR-3180:
------------------------------------

We've come a long way and the monkey has uncovered a number of bugs that we've fixed and is
helping to make a really solid solution.

I just uncovered another one having to do with races on shutdown.
When we kill the Jetty instance, it can cause an interrupted exception that closes the underlying
NIO files under lucene.
If a commit is happening concurrently then what can happen is that we can end up with more
than one unfinished transaction log.

We call preCommit, which move the current tlog to prevTlog.
The commit fails, but concurrently other updates are coming in and they cause a new tlog to
be created.
Even other updates coming in after this point can also succeed since they are simply buffered
in memory by the IW. 
                
> ChaosMonkey test failures
> -------------------------
>
>                 Key: SOLR-3180
>                 URL: https://issues.apache.org/jira/browse/SOLR-3180
>             Project: Solr
>          Issue Type: Bug
>          Components: SolrCloud
>            Reporter: Yonik Seeley
>
> Handle intermittent failures in the ChaosMonkey tests.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message