You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Eran Chinthaka Withana (JIRA)" <ji...@apache.org> on 2012/10/11 00:09:03 UTC

[jira] [Created] (CASSANDRA-4791) When a node bootstrap in a multi-datacenter environment it should try to get data only from local nodes

Eran Chinthaka Withana created CASSANDRA-4791:
-------------------------------------------------

             Summary: When a node bootstrap in a multi-datacenter environment it should try to get data only from local nodes
                 Key: CASSANDRA-4791
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4791
             Project: Cassandra
          Issue Type: Improvement
          Components: Core
            Reporter: Eran Chinthaka Withana


When a node bootstraps, in a multi-datacenter environment, currently it is streaming data from any node available. But, to cut down the intra datacenter traffic, it should first try to stream data within the same datacenter or there should be a flag to explicitly limit it to stream data from its own data center.


--
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

[jira] [Resolved] (CASSANDRA-4791) When a node bootstrap in a multi-datacenter environment it should try to get data only from local nodes

Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-4791?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Ellis resolved CASSANDRA-4791.
---------------------------------------

    Resolution: Not A Problem

It currently bootstraps from the "closest" node according to the snitch which should give you what you want.

But, see also CASSANDRA-2434.
                
> When a node bootstrap in a multi-datacenter environment it should try to get data only from local nodes
> -------------------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-4791
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4791
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Eran Chinthaka Withana
>
> When a node bootstraps, in a multi-datacenter environment, currently it is streaming data from any node available. But, to cut down the intra datacenter traffic, it should first try to stream data within the same datacenter or there should be a flag to explicitly limit it to stream data from its own data center.

--
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

[jira] [Commented] (CASSANDRA-4791) When a node bootstrap in a multi-datacenter environment it should try to get data only from local nodes

Posted by "Eran Chinthaka Withana (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-4791?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13473691#comment-13473691 ] 

Eran Chinthaka Withana commented on CASSANDRA-4791:
---------------------------------------------------

[~jbellis], from my experience I have seen the bootstrapping node reading from the nodes from a different data centers which are about 80ms away. And I don't think those nodes should be considered "closest". The snitch, which I believe comes from cassandra-topology.properties contains correct information about the topology of the cluster. 

I looked at CASSANDRA-2434 also and it says "even if you don't care about the consistency issues, I don't think there is currently a way to bootstrap from local nodes only." but not sure whether this got implemented in Cassandra 1.0.x versions. 
                
> When a node bootstrap in a multi-datacenter environment it should try to get data only from local nodes
> -------------------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-4791
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4791
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Eran Chinthaka Withana
>
> When a node bootstraps, in a multi-datacenter environment, currently it is streaming data from any node available. But, to cut down the intra datacenter traffic, it should first try to stream data within the same datacenter or there should be a flag to explicitly limit it to stream data from its own data center.

--
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