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

SolrCore swap support of FSTLinkingEngine does not free old SolrCore

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.0.0, 0.12.1
    • Enhancement Engines
    • None

    Description

      This feature (and the bug) was introduced with STANBOL-1440. because of a equals(..) check with the wrong field of the FstLinkingEngineComponent engine instances registered for unregistered SolrCores are not closed. Because of this also the SolrCore.close() method of the SolrCore used by this engine is not called. This causes those SolrCores (that are no longer registered with any Solr CoreContainer) not to be closed (as the reference count of those core will not reach zero).

      However NOTE if a SolrCore is updated the old one is freed by the FST linking engine and closed (as after the switch to the new one the engine automatically frees the old). So this only happens if a SolrCore is removed (e.g. if it is removed from the ManagedSolrServer or if the SolrServer is deactivated as a whole).

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 3h
                  3h
                  Remaining:
                  Remaining Estimate - 3h
                  3h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified