[ 
https://issues.apache.org/jira/browse/SOLR-8522?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15119075#comment-15119075
 ] 

Noble Paul commented on SOLR-8522:
----------------------------------

solr will only use the {{linux01}} but that is not to say that ip cannot be 
used. It should be the preference of the user to choose {{ip_1}} .  

My suggestion is 

both {{host_1}} and {{ip_1}} should be valid and must work. If the node string 
is a host name , resolve the ip address and get the {{ip_1}} value

> ImplicitSnitch to support IPv4 fragment and host name  fragment tags
> --------------------------------------------------------------------
>
>                 Key: SOLR-8522
>                 URL: https://issues.apache.org/jira/browse/SOLR-8522
>             Project: Solr
>          Issue Type: Improvement
>          Components: SolrCloud
>    Affects Versions: 5.4
>            Reporter: Arcadius Ahouansou
>            Assignee: Noble Paul
>            Priority: Minor
>         Attachments: SOLR-8522.patch, SOLR-8522.patch, SOLR-8522.patch
>
>
> This is a description from [~noble.paul]'s comment on SOLR-8146
> h3. IPv4 fragment tags
> Lets assume a Solr node IPv4 address is {{192.93.255.255}} .
> This is about enhancing the current {{ImplicitSnitch}}  to support IP based 
> tags like:
> - {{hostfrag_1 = 255}}
> - {{hostfrag_2 = 255}}
> - {{hostfrag_3 = 93}}
> - {{hostfrag_4 = 192}}
> Note that IPv6 support will be implemented by a separate ticket
> h3. Host name fragment tags
> Lets assume a Solr node host name {{serv1.dc1.country1.apache.org}} .
> This is about enhancing the current {{ImplicitSnitch}}  to support  tags like:
> - {{hostfrag_1 = org}}
> - {{hostfrag_2 = apache}}
> - {{hostfrag_3 = country1}}
> - {{hostfrag_4 = dc1}}
> - {{hostfrag_5 = serv1}}



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

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

Reply via email to