Rupert Westenthaler created STANBOL-1235:
--------------------------------------------
Summary: 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)