sling-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Konrad Windszus (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SLING-6522) Refactor/Improve error handling of InstallTaskFactorys
Date Wed, 15 Feb 2017 14:04:41 GMT
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)

Mime
View raw message