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

Sylvain Lebresne commented on CASSANDRA-4814:
---------------------------------------------

The new generic code in StorageService to push the dc/rack with gossip calls 
the snitch getDatacenter() and getRack() methods with the broadcast address. 
But for GPFS those methods used to always check gossip even for the local host, 
which won't work if those are used to set the info for the local host.
                
> Always gossip DC and Rack information
> -------------------------------------
>
>                 Key: CASSANDRA-4814
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4814
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Sylvain Lebresne
>            Assignee: Sylvain Lebresne
>             Fix For: 1.2.0 beta 2
>
>         Attachments: 4814.txt
>
>
> Currently, we only gossip the DC and rack of nodes if a snitch that needs 
> that information is used. However, in the spirit of CASSANDRA-4351, it would 
> be useful to always gossip that information as an easy way for client 
> libraries to access it (so that they can more easily implement strategy like 
> "connect only to node local to my DC").

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to