You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Felix Meschberger (JIRA)" <ji...@apache.org> on 2008/10/28 15:54:44 UTC
[jira] Assigned: (SLING-709) Synchronization issues while managing
bundles
[ https://issues.apache.org/jira/browse/SLING-709?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Felix Meschberger reassigned SLING-709:
---------------------------------------
Assignee: Felix Meschberger (was: Bertrand Delacretaz)
> Synchronization issues while managing bundles
> ---------------------------------------------
>
> Key: SLING-709
> URL: https://issues.apache.org/jira/browse/SLING-709
> Project: Sling
> Issue Type: Improvement
> Components: JCR Install
> Affects Versions: JCR Install 2.0.4
> Reporter: Felix Meschberger
> Assignee: Felix Meschberger
> Fix For: JCR Install 2.0.4
>
>
> The BundleResourceProcessor employs a mix of bundle management and package admin tasks, which may cause the framework to get into uncontrolled states:
> (1) installOrUpdate may update existing bundles. This causes the bundle to be stopped, updated and started
> (2) processResourceQueue calls PackageAdmin.resolve for installed bundles
> (3) processResourceQueue starts resolved bundles
> (4) processResourceQueue calls PackageAdmin.refreshPackages repeatedly
> This all calls way to much into the framework bundle resolution and may be greatly simplified and stabilized:
> (1) when a bundle is to be updated it should be stopped before being updated. It will be started later
> (2) processResourceQueue only calls refreshPackages if bundles have been uninstalled or updated since the last processResourceQueue
> (3) if packages are refreshed the BundleResourceProcessor waits for the refresh to finish and starts any bundles stopped during package refresh as well as newly installed and updated bundles and lets the framework decide on resolution.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.