karaf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vladimirfx <...@git.apache.org>
Subject [GitHub] karaf pull request #291: [KARAF-4701] forcing deterministic heuristic of cap...
Date Fri, 24 Mar 2017 10:38:03 GMT
GitHub user vladimirfx opened a pull request:


    [KARAF-4701] forcing deterministic heuristic of capbillities comparison for Subsystem

    When some bundle exactly duplicated in two or more installing features Felix Resolver
may randomly chose one that not already installed. 
    Karaf already use some hack for deterministic resolution in CandidateComparator. But as
now it can't produce stable result for absolutly identical bundles.
    This patch expand deterministic resolution hack to use Requirement identity in comparison,
ie compare from witch feature/subsystem/region bundle is coming.
    Steps to reproduce described in bug report. All version from 4.0.6 up to current master
is affected. But with Felix Resolver 1.12.0 it is harder to reproduce.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/cit-consulting/karaf KARAF-4701

Alternatively you can review and apply these changes as the patch at:


To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #291
commit 847ea3366093d463c13e5796363f9a5231af2fdc
Author: Vladimir Konkov <vkonkov@citc.ru>
Date:   2017-03-24T09:50:23Z

    [KARAF-4701] forcing deterministic heuristic of capbillities comparison for Subsystem


If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.

View raw message