cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeremy Hanna (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (CASSANDRA-11488) Bug or not?: coordinator using SimpleSnitch may query other nodes for copies of local data
Date Wed, 06 Apr 2016 15:44:25 GMT

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

Jeremy Hanna edited comment on CASSANDRA-11488 at 4/6/16 3:44 PM:
------------------------------------------------------------------

We generally tell people to always use NetworkTopologyStrategy because it's makes a possible
transition to multi-dc easier, but as SimpleSnitch is the default for nearly everything, it's
often used for some period of time.  So based on the latter and for those who are always single
DC and don't care to change, I think it's important to consider it.  Interesting history though.


was (Author: jeromatron):
We generally tell people to always use NetworkTopologyStrategy because it's makes a possible
transition to multi-dc easier, but as SimpleSnitch is the default for nearly everything, it's
often used for some period of time.  So based on the latter and for those who are always single
DC and don't care to change, I think it's important to make it efficient.

> Bug or not?: coordinator using SimpleSnitch may query other nodes for copies of local
data 
> -------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-11488
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-11488
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Coordination
>            Reporter: Jim Witschey
>            Assignee: Stefania
>            Priority: Minor
>              Labels: doc-impacting
>
> As [~Stefania] explains [in this JIRA comment|https://issues.apache.org/jira/browse/CASSANDRA-11225?focusedCommentId=15221059&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-15221059],
{{SimpleSnitch}} does not implement {{IEndpointSnitch.sortByProximity(localhost, liveendpoints)}},
so a query for data on the coordinator may query other nodes. That seems like unnecessary
work to me, and on that note, Stefania woonders [in this JIRA comment|https://issues.apache.org/jira/browse/CASSANDRA-11225?focusedCommentId=15223598&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-15223598]
- should this be considered a bug?
> Stefania, I'm assigning you here -- could you find the right people to involve in this
discussion?



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

Mime
View raw message