You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@celix.apache.org by "PengZheng (via GitHub)" <gi...@apache.org> on 2023/05/29 13:41:54 UTC

[I] Bundle state inconsistency in case of update failure (celix)

PengZheng opened a new issue, #563:
URL: https://github.com/apache/celix/issues/563

   When entering `celix_framework_bundleEntry_refreshBundleEntry`, bundle is in resolved state.
   If any of the steps in `celix_framework_bundleEntry_refreshBundleEntry` fails, bundle state should be updated accordingly.
   Currently this is not the case.
   
   Note that to fix this issue, #557 should also be considered.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@celix.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Bundle state inconsistency in case of update failure (celix)

Posted by "PengZheng (via GitHub)" <gi...@apache.org>.
PengZheng closed issue #563: Bundle state inconsistency in case of update failure
URL: https://github.com/apache/celix/issues/563


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@celix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Bundle state inconsistency in case of update failure (celix)

Posted by "PengZheng (via GitHub)" <gi...@apache.org>.
PengZheng commented on issue #563:
URL: https://github.com/apache/celix/issues/563#issuecomment-1568275072

   Once #556 is resolved, the current implementation of uninstall can be renamed to "unload".
   Then update can be implemented as `unload` followed by `install`.
   This way, a refresh bundle is loaded from storage without any state inconsistency issues. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@celix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org