Uploaded image for project: 'Stanbol (Retired)'
  1. Stanbol (Retired)
  2. STANBOL-1235

SolrServerAdapter should not register a new core before unregistering the old one in the OSGI config

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 0.12.0
    • None
    • Commons
    • None

    Description

      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.

      Attachments

        Activity

          People

            rwesten Rupert Westenthaler
            rwesten Rupert Westenthaler
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: