[ 
https://issues.apache.org/jira/browse/SOLR-7836?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Erick Erickson updated SOLR-7836:
---------------------------------
    Attachment: deadlock_test
                deadlock_3.res.zip

Here's the stack trace. A few things:

> I got this source by "svn checkout -r1694809 
> https://svn.apache.org/repos/asf/lucene/dev/trunk"; and added the test to that 
> code base.

> It appears to need two things to fail; a reload operation and a delete by 
> query.

> thread WRITER5 and 
> TEST-TestReloadDeadlock.testReloadDeadlock-seed#[4CFFCB253DB33784]" are the 
> ones I think are fighting here.

> The original fix was to pass the index writer from addDoc0() to addAndDelete, 
> but this doesn't work either. I'll see if I can attach a run with that change 
> for comparison.

> I've also attached the script I use to run this, although I don't run it in 
> parallel.



> Possible deadlock when closing refcounted index writers.
> --------------------------------------------------------
>
>                 Key: SOLR-7836
>                 URL: https://issues.apache.org/jira/browse/SOLR-7836
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Erick Erickson
>            Assignee: Erick Erickson
>             Fix For: Trunk, 5.4
>
>         Attachments: SOLR-7836-synch.patch, SOLR-7836.patch, SOLR-7836.patch, 
> SOLR-7836.patch, deadlock_3.res.zip, deadlock_test
>
>
> Preliminary patch for what looks like a possible race condition between 
> writerFree and pauseWriter in DefaultSorlCoreState.
> Looking for comments and/or why I'm completely missing the boat.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to