Return-Path: X-Original-To: apmail-felix-dev-archive@www.apache.org Delivered-To: apmail-felix-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8438B18376 for ; Tue, 6 Oct 2015 14:32:39 +0000 (UTC) Received: (qmail 50037 invoked by uid 500); 6 Oct 2015 14:32:26 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 49963 invoked by uid 500); 6 Oct 2015 14:32:26 -0000 Mailing-List: contact dev-help@felix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@felix.apache.org Delivered-To: mailing list dev@felix.apache.org Received: (qmail 49948 invoked by uid 99); 6 Oct 2015 14:32:26 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Oct 2015 14:32:26 +0000 Date: Tue, 6 Oct 2015 14:32:26 +0000 (UTC) From: "Richard S. Hall (JIRA)" To: dev@felix.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (FELIX-5049) Resolver does not choose the revision with the lowest bundle ID MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/FELIX-5049?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14945110#comment-14945110 ] Richard S. Hall commented on FELIX-5049: ---------------------------------------- I don't think this is a good idea. I understand what you are trying to achieve, but I'm not sure the best way to achieve it. First of all, such a heuristic would lead to sorting results that varied over time and could become inconsistent dynamically. Secondly, even if you wanted to ignore the potential inconsistencies, it is still not clear the heuristic makes sense, since it only takes into account services registered directly by the package provider, but it is possible that there is an importer of the package that is providing the service too. This makes the heuristic mostly meaningless since it is just stabbing in the dark. And, of course, you really wouldn't want to take importers who provide into account because that would just exacerbate the first issue. Unfortunately, there is no good solution to this case, I don't think. > Resolver does not choose the revision with the lowest bundle ID > --------------------------------------------------------------- > > Key: FELIX-5049 > URL: https://issues.apache.org/jira/browse/FELIX-5049 > Project: Felix > Issue Type: Bug > Components: Resolver > Affects Versions: framework-5.2.0 > Reporter: David Bosschaert > Assignee: David Bosschaert > Attachments: felix-5049.diff > > > The Felix Resolver does not pick the exporting bundle with the lowest bundle ID when multiple bundles export the same package. This causes [ARIES-1398|https://issues.apache.org/jira/browse/ARIES-1398]. For steps on how to reproduce see that issue. -- This message was sent by Atlassian JIRA (v6.3.4#6332)