Solr
  1. Solr
  2. SOLR-5867

OverseerCollectionProcessor isn't properly generating https urls in some cases

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.7
    • Fix Version/s: 4.7.1, 4.8, 6.0
    • Component/s: None
    • Labels:
      None

      Description

      All URLs should generated using a call out to the zk state reader:

      zkStateReader.getBaseUrlForNodeName(nodeName);
      

      This is because the url scheme is stored in the clusterprops.json file and is necessary to properly build the correct URL to propagate the request. Please note that if the base_url is available, that should be used since it does have the properly built schemed url without the need to check zk.

      1. SOLR-5867.patch
        0.7 kB
        Steve Davids

        Activity

        Hide
        Steve Davids added a comment -

        Attached patch.

        Show
        Steve Davids added a comment - Attached patch.
        Hide
        ASF subversion and git services added a comment -

        Commit 1577968 from shalin@apache.org in branch 'dev/trunk'
        [ https://svn.apache.org/r1577968 ]

        SOLR-5867: OverseerCollectionProcessor isn't properly generating https urls in some cases

        Show
        ASF subversion and git services added a comment - Commit 1577968 from shalin@apache.org in branch 'dev/trunk' [ https://svn.apache.org/r1577968 ] SOLR-5867 : OverseerCollectionProcessor isn't properly generating https urls in some cases
        Hide
        ASF subversion and git services added a comment -

        Commit 1577969 from shalin@apache.org in branch 'dev/branches/branch_4x'
        [ https://svn.apache.org/r1577969 ]

        SOLR-5867: OverseerCollectionProcessor isn't properly generating https urls in some cases

        Show
        ASF subversion and git services added a comment - Commit 1577969 from shalin@apache.org in branch 'dev/branches/branch_4x' [ https://svn.apache.org/r1577969 ] SOLR-5867 : OverseerCollectionProcessor isn't properly generating https urls in some cases
        Hide
        Shalin Shekhar Mangar added a comment -

        Thanks Steve!

        Show
        Shalin Shekhar Mangar added a comment - Thanks Steve!
        Hide
        ASF subversion and git services added a comment -

        Commit 1578662 from Mark Miller in branch 'dev/branches/lucene_solr_4_7'
        [ https://svn.apache.org/r1578662 ]

        SOLR-5867: OverseerCollectionProcessor isn't properly generating https urls in some cases.

        Show
        ASF subversion and git services added a comment - Commit 1578662 from Mark Miller in branch 'dev/branches/lucene_solr_4_7' [ https://svn.apache.org/r1578662 ] SOLR-5867 : OverseerCollectionProcessor isn't properly generating https urls in some cases.
        Hide
        Steve Rowe added a comment -

        Bulk close 4.7.1 issues

        Show
        Steve Rowe added a comment - Bulk close 4.7.1 issues

          People

          • Assignee:
            Shalin Shekhar Mangar
            Reporter:
            Steve Davids
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development