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

SolrCore swap support of FSTLinkingEngine does not free old SolrCore

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.0.0, 0.12.1
    • Component/s: Enhancement Engines
    • Labels:
      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

              • Assignee:
                rwesten Rupert Westenthaler
                Reporter:
                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