Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-6522

Refactor/Improve error handling of InstallTasks

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Installer Core 3.8.0
    • None
    • Installer
    • 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:

      1. 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.
      2. Recoverable error, the retry should happen immediately or after a short waiting time (independent of other OSGi Installer events)
      3. Recoverable error, the retry should happen with the next cycle of the OSGi Installer

      Attachments

        Issue Links

          Activity

            People

              kwin Konrad Windszus
              kwin Konrad Windszus
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: