[ https://issues.apache.org/jira/browse/SOLR-7836?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14679398#comment-14679398 ]
Erick Erickson commented on SOLR-7836: -------------------------------------- bq: I'm starting to wonder if this isn't a bit backwards. Rather than going at this piecemeal, what about synchronizing on updateLock at the top of addDoc0 and in CoreContainer.reload() which drives one of the failure cases for deadlock? Not sure I really like the idea, but I'll give it a (local) test.... That's a really bad idea, fails first time every time. > 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 > > > 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