[
https://issues.apache.org/jira/browse/SOLR-15058?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17254095#comment-17254095
]
Erick Erickson commented on SOLR-15058:
---------------------------------------
[~ab] [~noble] This certainly seems wrong. WDYT though about scanning for
lastIndexOf("_solr") rather than just an underscore? It should still be changed
to lastIndexOf.....
Pinging you two since you were in that code.....
> Solr can not get correct hostname when hostname contain '_'
> -----------------------------------------------------------
>
> Key: SOLR-15058
> URL: https://issues.apache.org/jira/browse/SOLR-15058
> Project: Solr
> Issue Type: Bug
> Security Level: Public(Default Security Level. Issues are Public)
> Reporter: Su Sasa
> Priority: Minor
> Attachments:
> 0001-SOLR-15058-get-the-correct-hostname-when-hostname-co.patch
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> Utils.getBaseUrlForNodeName split the nodename by the first '_'
> In ZK, Solr add '_solr' to the end of the hostname
> so there should split by the last '_'
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]