You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Richard S. Hall (JIRA)" <ji...@apache.org> on 2010/09/24 16:20:32 UTC

[jira] Created: (FELIX-2626) [Framework] Bundle cache is rewriting some files when restarting bundles

[Framework] Bundle cache is rewriting some files when restarting bundles
------------------------------------------------------------------------

                 Key: FELIX-2626
                 URL: https://issues.apache.org/jira/browse/FELIX-2626
             Project: Felix
          Issue Type: Improvement
          Components: Framework
    Affects Versions: framework-3.0.3
            Reporter: Richard S. Hall
            Assignee: Richard S. Hall
            Priority: Minor
             Fix For: framework-3.2.0


When reloading cached bundles, the framework reuses code used for installing a bundle for the first time. While this makes sense to avoid code duplication, it is not properly special casing bundle reloading, which results in some unneeded disk writes, such as rewriting the bundle revision location to disk on each start up for every installed bundle.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (FELIX-2626) [Framework] Bundle cache is rewriting some files when restarting bundles

Posted by "Richard S. Hall (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-2626?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Richard S. Hall closed FELIX-2626.
----------------------------------

    Resolution: Fixed

Committed patch to avoid rewriting revision.location and bunde.state files.

> [Framework] Bundle cache is rewriting some files when restarting bundles
> ------------------------------------------------------------------------
>
>                 Key: FELIX-2626
>                 URL: https://issues.apache.org/jira/browse/FELIX-2626
>             Project: Felix
>          Issue Type: Improvement
>          Components: Framework
>    Affects Versions: framework-3.0.3
>            Reporter: Richard S. Hall
>            Assignee: Richard S. Hall
>            Priority: Minor
>             Fix For: framework-3.2.0
>
>
> When reloading cached bundles, the framework reuses code used for installing a bundle for the first time. While this makes sense to avoid code duplication, it is not properly special casing bundle reloading, which results in some unneeded disk writes, such as rewriting the bundle revision location to disk on each start up for every installed bundle.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (FELIX-2626) [Framework] Bundle cache is rewriting some files when restarting bundles

Posted by "Richard S. Hall (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FELIX-2626?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12917740#action_12917740 ] 

Richard S. Hall commented on FELIX-2626:
----------------------------------------

Patch 1003559 was rolled back for now.

> [Framework] Bundle cache is rewriting some files when restarting bundles
> ------------------------------------------------------------------------
>
>                 Key: FELIX-2626
>                 URL: https://issues.apache.org/jira/browse/FELIX-2626
>             Project: Felix
>          Issue Type: Improvement
>          Components: Framework
>    Affects Versions: framework-3.0.3
>            Reporter: Richard S. Hall
>            Assignee: Richard S. Hall
>            Priority: Minor
>             Fix For: framework-3.0.4
>
>
> When reloading cached bundles, the framework reuses code used for installing a bundle for the first time. While this makes sense to avoid code duplication, it is not properly special casing bundle reloading, which results in some unneeded disk writes, such as rewriting the bundle revision location to disk on each start up for every installed bundle.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (FELIX-2626) [Framework] Bundle cache is rewriting some files when restarting bundles

Posted by "Richard S. Hall (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-2626?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Richard S. Hall updated FELIX-2626:
-----------------------------------

    Fix Version/s: framework-3.0.4
                       (was: framework-3.2.0)

> [Framework] Bundle cache is rewriting some files when restarting bundles
> ------------------------------------------------------------------------
>
>                 Key: FELIX-2626
>                 URL: https://issues.apache.org/jira/browse/FELIX-2626
>             Project: Felix
>          Issue Type: Improvement
>          Components: Framework
>    Affects Versions: framework-3.0.3
>            Reporter: Richard S. Hall
>            Assignee: Richard S. Hall
>            Priority: Minor
>             Fix For: framework-3.0.4
>
>
> When reloading cached bundles, the framework reuses code used for installing a bundle for the first time. While this makes sense to avoid code duplication, it is not properly special casing bundle reloading, which results in some unneeded disk writes, such as rewriting the bundle revision location to disk on each start up for every installed bundle.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.