Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-8117

Rule-based placement issue with 'cores' tag

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 5.3, 5.3.1
    • None
    • SolrCloud
    • None

    Description

      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 therefore it fails.

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

      Attachments

        1. SOLR-8117.patch
          4 kB
          Ludovic Boutros

        Issue Links

          Activity

            People

              noble.paul Noble Paul
              lboutros Ludovic Boutros
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: