[ https://issues.apache.org/jira/browse/CASSANDRA-11488?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15225518#comment-15225518 ]
Stefania commented on CASSANDRA-11488: -------------------------------------- [~slebresne], should {{SimpleSnitch}} compare endpoints by address? At the moment, for {{SimpleStrategy}} and {{SimpleSnitch}} combinations, {{StorageProxy}} may not choose the local host as the preferred read replica even if it is a replica. > 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 > Reporter: Jim Witschey > Assignee: Stefania > Priority: Minor > > 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)