Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
wants to merge 1 commit into from

Conversation

vladimirfx
Copy link
Contributor

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.

@jbonofre
Copy link
Member

R: @jbonofre

@asfgit asfgit closed this in e176808 Mar 27, 2017
@vladimirfx vladimirfx deleted the KARAF-4701 branch March 27, 2017 08:25
JiriOndrusek pushed a commit to JiriOndrusek/karaf-1 that referenced this pull request Apr 17, 2019
[ENTESB-9567] Use jline 3.6.2.redhat-2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants