Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
Installer Core 3.8.0
-
None
-
None
Description
Currently the retry behaviour and exception handling needs to be done in each InstallTask 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
Attachments
Issue Links
- is related to
-
SLING-8281 Exceptions in the ConfigInstallTasks should lead to log messages with category "WARN"
- Closed
- relates to
-
SLING-5457 OsgiInstaller should retry to start bundles on failures
- Closed