mirror of
https://github.com/Alfresco/SearchServices.git
synced 2026-09-16 18:12:56 +00:00
Merge branches 'fix/SEARCH-2303_npe_on_tracker_state' and 'master' of https://git.alfresco.com/search_discovery/insightengine into fix/SEARCH-2303_npe_on_tracker_state
Conflicts: search-services/alfresco-search/src/main/java/org/alfresco/solr/tracker/AbstractTracker.java
This commit is contained in:
+5
-11
@@ -225,9 +225,10 @@ public abstract class AbstractTracker implements Tracker
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (InterruptedException e)
|
||||
catch (Exception exception)
|
||||
{
|
||||
LOGGER.error("[{} / {} / {}] Semaphore interruption. See the stacktrace below for further details.", coreName, trackerId, iterationId, e);
|
||||
LOGGER.error("[{} / {} / {}] Some problem was detected while resetting the Tracker State. See the stracktrace below for further details."
|
||||
, coreName, trackerId, iterationId, exception);
|
||||
}
|
||||
finally
|
||||
{
|
||||
@@ -250,17 +251,10 @@ public abstract class AbstractTracker implements Tracker
|
||||
try
|
||||
{
|
||||
state.setRunning(false);
|
||||
} catch (Exception ignore)
|
||||
{
|
||||
// Nothing to be done here.
|
||||
}
|
||||
|
||||
try
|
||||
{
|
||||
state.setCheck(false);
|
||||
} catch (Exception ignore)
|
||||
} catch (Exception exception)
|
||||
{
|
||||
// Nothing to be done here.
|
||||
LOGGER.error("Unable to properly turn off the TrackerState instance. See the stacktrace below for further details.", exception);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user