lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ludovic Boutros (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SOLR-8117) Rule-based placement issue with 'cores' tag
Date Fri, 02 Oct 2015 20:41:26 GMT
Ludovic Boutros created SOLR-8117:
-------------------------------------

             Summary: Rule-based placement issue with 'cores' tag 
                 Key: SOLR-8117
                 URL: https://issues.apache.org/jira/browse/SOLR-8117
             Project: Solr
          Issue Type: Bug
          Components: SolrCloud
    Affects Versions: 5.3, 5.3.1
            Reporter: Ludovic Boutros


The rule-based placement fails on an empty node (core count = 0) with condition 'cores:<1'.

It also fails if current core number is equal to the core number in the condition - 1. 

During the placement strategy process, the core counts for a node are incremented when all
the rules match.

At the end of  the code, an additional verification of all the conditions is done (with incremented
core count) and it fails.

I don't know why this condition is needed and removing it seems to fix the issue.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message