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

Anshum Gupta commented on SOLR-7408:
------------------------------------

Thanks Shai. The patch looks good to me in what it does. 

Though I think I understand what you're saying here, can you elaborate more on 
this:
bq. However, it seems like we call unregister even in the event of errors 
(CoreAdminHandler.handleCreateAction), forcing the removal of the configDir 
listener, and it's not clear if we also call SolrCore.close(). So we may start 
leaking listeners that will never be removed ..

> Race condition can cause a config directory listener to be removed
> ------------------------------------------------------------------
>
>                 Key: SOLR-7408
>                 URL: https://issues.apache.org/jira/browse/SOLR-7408
>             Project: Solr
>          Issue Type: Bug
>          Components: SolrCloud
>            Reporter: Shai Erera
>            Assignee: Shai Erera
>         Attachments: SOLR-7408.patch, SOLR-7408.patch
>
>
> This has been reported here: http://markmail.org/message/ynkm2axkdprppgef, 
> and I was able to reproduce it in a test, although I am only able to 
> reproduce if I put break points and manually simulate the problematic context 
> switches.



--
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