[
https://issues.apache.org/jira/browse/SOLR-647?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Henri Biestro updated SOLR-647:
-------------------------------
Attachment: solr-647.patch
A few modifications to make things (hopefully) a little clearer & tests (single
& multi threaded).
This new patch version solely deals with reference counting implementation (not
its usage).
SolrDispatchFilter/EmbeddedSolrServer should be patched through solr-545.
CoreDescriptor (the reloadCore() method) might be better patched through
solr-561 (this is easy to reintroduce if needed though).
> Do SolrCore.close() in a refcounted way
> ---------------------------------------
>
> Key: SOLR-647
> URL: https://issues.apache.org/jira/browse/SOLR-647
> Project: Solr
> Issue Type: Bug
> Affects Versions: 1.3
> Reporter: Noble Paul
> Fix For: 1.3
>
> Attachments: solr-647.patch, solr-647.patch, SOLR-647.patch,
> SOLR-647.patch
>
>
> The method _SolrCore.close()_ directly closes the core . It can cause
> Exceptions for in-flight requests. The _close()_ method should just do a
> decrement on refcount and the actual close must happen when the last request
> being processed by that core instance is completed
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.