[
https://issues.apache.org/jira/browse/STANBOL-1235?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rupert Westenthaler resolved STANBOL-1235.
------------------------------------------
Resolution: Fixed
fixed with http://svn.apache.org/r1551865 in 0.12.0 and
http://svn.apache.org/r1551872 in trunk.
> SolrServerAdapter should not register a new core before unregistering the old
> one in the OSGI config
> ----------------------------------------------------------------------------------------------------
>
> Key: STANBOL-1235
> URL: https://issues.apache.org/jira/browse/STANBOL-1235
> Project: Stanbol
> Issue Type: Bug
> Components: Commons
> Affects Versions: 0.12.0
> Reporter: Rupert Westenthaler
> Assignee: Rupert Westenthaler
> Priority: Minor
>
> When a SolrCore registered as OSGI service is changed the service
> registration for the new/updated one is currently added before the old one is
> unregistered.
> This is not optional in two aspects:
> * if it is only an update to an existing service (e.g.
> server.reloadCore(name)) also the ServiceRegistration should be only updated
> and not removed and re-added
> * if it is a new service (e.g a core swap) the old registration should be
> remove before the swap and the new one only added after the swap completes.
--
This message was sent by Atlassian JIRA
(v6.1.4#6159)