Solr
  1. Solr
  2. SOLR-5702

info-log collection.configName in ZkStateReader.readConfigName

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 4.6.1
    • Fix Version/s: 4.7, 6.0
    • Component/s: None
    • Labels:
      None

      Description

      The scenario we had was that a solr instance for an existing collection did mysteriously not use the -Dcollection.configName=<new value> specified config. This it turned out was rightly so because zookeeper already had a configName=<old value> for the already existing collection. org.apache.solr.cloud.ZkCLI linkconfig needs to be run to update the existing value if required.

      Solr info-logging the configName it uses would help developers in this scenario.

        Activity

        Show
        Christine Poerschke added a comment - https://github.com/apache/lucene-solr/pull/29 created
        Hide
        ASF subversion and git services added a comment -

        Commit 1565399 from Mark Miller in branch 'dev/trunk'
        [ https://svn.apache.org/r1565399 ]

        SOLR-5702: Log config name found for collection at info level.

        Show
        ASF subversion and git services added a comment - Commit 1565399 from Mark Miller in branch 'dev/trunk' [ https://svn.apache.org/r1565399 ] SOLR-5702 : Log config name found for collection at info level.
        Hide
        ASF subversion and git services added a comment -

        Commit 1565400 from Mark Miller in branch 'dev/branches/branch_4x'
        [ https://svn.apache.org/r1565400 ]

        SOLR-5702: Log config name found for collection at info level.

        Show
        ASF subversion and git services added a comment - Commit 1565400 from Mark Miller in branch 'dev/branches/branch_4x' [ https://svn.apache.org/r1565400 ] SOLR-5702 : Log config name found for collection at info level.
        Hide
        Mark Miller added a comment -

        Thanks Christine! Sorry I forgot to put the comment thats supposed to close the pull request (which didn't work last time anyway - perhaps due to case).

        Show
        Mark Miller added a comment - Thanks Christine! Sorry I forgot to put the comment thats supposed to close the pull request (which didn't work last time anyway - perhaps due to case).

          People

          • Assignee:
            Mark Miller
            Reporter:
            Christine Poerschke
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development