Quantcast

[GitHub] karaf pull request #291: [KARAF-4701] forcing deterministic heuristic of cap...

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[GitHub] karaf pull request #291: [KARAF-4701] forcing deterministic heuristic of cap...

earcam-2
GitHub user vladimirfx opened a pull request:

    https://github.com/apache/karaf/pull/291

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

    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:

    https://github.com/apache/karaf/pull/291.patch

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 <[hidden email]>
Date:   2017-03-24T09:50:23Z

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

----


---
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 [hidden email] or file a JIRA ticket
with INFRA.
---
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[GitHub] karaf pull request #291: [KARAF-4701] forcing deterministic heuristic of cap...

earcam-2
Github user asfgit closed the pull request at:

    https://github.com/apache/karaf/pull/291


---
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 [hidden email] or file a JIRA ticket
with INFRA.
---
Loading...