cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brandon Williams (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-6814) We should ensure that AbstractReadExecutor.makeDigestRequests never calls the local machine
Date Thu, 20 Mar 2014 15:38:45 GMT

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

Brandon Williams commented on CASSANDRA-6814:
---------------------------------------------

bq. Attached is a simple patch which moves the localhost comparison (priority) to AbstractEndpointSnitch.sortByProximity
so the dynamic snitch will not overwrite comparing the scores.

I'm not sure that's the right solution, since the dsnitch should be able to override reading
from the local machine if its score is bad enough.

> We should ensure that AbstractReadExecutor.makeDigestRequests never calls the local machine
> -------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-6814
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-6814
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Benedict
>            Assignee: Vijay
>            Priority: Minor
>             Fix For: 3.0
>
>         Attachments: 0001-CASSANDRA-6814.patch
>
>
> It should always opt to perform the actual read locally, when possible, and this code
path should assert that it does not read locally.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message