You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Konrad Windszus (JIRA)" <ji...@apache.org> on 2017/02/15 14:04:41 UTC
[jira] [Created] (SLING-6522) Refactor/Improve error handling of
InstallTaskFactorys
Konrad Windszus created SLING-6522:
--------------------------------------
Summary: Refactor/Improve error handling of InstallTaskFactorys
Key: SLING-6522
URL: https://issues.apache.org/jira/browse/SLING-6522
Project: Sling
Issue Type: Improvement
Components: Installer
Affects Versions: Installer Core 3.8.0
Reporter: Konrad Windszus
Assignee: Konrad Windszus
Currently the retry behaviour and exception handling needs to be done in each {{InstallTaskFactory}} individually. It would be good to have a global handling in the OSGi Installer, which could be easily triggered from the individual transformers.
The approach is outlined in http://www.mail-archive.com/dev@sling.apache.org/msg60947.html.
Basically we have to distinguish between the following error cases:
# Unrecoverable error, an error which will occur with every retry, therefore there is no need to try to execute the same transformer on the same resource again.
# Recoverable error, the retry should happen immediately
# Recoverable error, the retry should happen with the next cycle of the OSGi Installer
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)