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] [Updated] (SLING-6522) Refactor/Improve error handling of InstallTaskFactorys
Date Wed, 15 Feb 2017 14:07:41 GMT

     [ https://issues.apache.org/jira/browse/SLING-6522?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Konrad Windszus updated SLING-6522:
-----------------------------------
    Description: 
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 desired 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 or after a short waiting time (independent
of other OSGi Installer events)
# Recoverable error, the retry should happen with the next cycle of the OSGi Installer

  was:
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 desired 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


> 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 desired 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 or after a short waiting time
(independent of other OSGi Installer events)
> # 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