[jira] [Updated] (CASSANDRA-6814) We should ensure that AbstractReadExecutor.makeDigestRequests never calls the local machine
[ https://issues.apache.org/jira/browse/CASSANDRA-6814?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] C. Scott Andreas updated CASSANDRA-6814: Component/s: Coordination > 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 > Components: Coordination >Reporter: Benedict >Assignee: Vijay >Priority: Minor > Fix For: 4.x > > 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 (v7.6.3#76005) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Updated] (CASSANDRA-6814) We should ensure that AbstractReadExecutor.makeDigestRequests never calls the local machine
[ https://issues.apache.org/jira/browse/CASSANDRA-6814?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vijay updated CASSANDRA-6814: - Attachment: 0001-CASSANDRA-6814.patch Attached is a simple patch which moves the localhost comparison (priority) to AbstractEndpointSnitch.sortByProximity so the dynamic snitch will not overwrite comparing the scores. The motivation for this change is to avoid another sort, let me know if this works. My tests shows the assertion added doesn't break. > 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)
[jira] [Updated] (CASSANDRA-6814) We should ensure that AbstractReadExecutor.makeDigestRequests never calls the local machine
[ https://issues.apache.org/jira/browse/CASSANDRA-6814?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Ellis updated CASSANDRA-6814: -- Assignee: Vijay > 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 > > > 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)