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

ivan commented on CASSANDRA-982:
--------------------------------

rep_fix_01.patch

Read/write separation:
for read request we should choose servers from local datacenter
- locator.ARS split cacheEndpoint methods to read and write methods
- locator.NTS for read requests we choose servers from local datacenter

Message FORWARD_HEADER:
- service/StorageProxy::sendMeassges: remove FORWARD_HEADER if destination is 
in local datacenter
- service/StorageProxy::fetchRows: if readrepair is not used we need to check 
dataPoint is in endpoints list

Message: removeheader method

db/rowmutationverbhandler::forwardToLocalNodes: set correct destination address


Regards,
ivan


> read repair on quorum consistencylevel
> --------------------------------------
>
>                 Key: CASSANDRA-982
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-982
>             Project: Cassandra
>          Issue Type: New Feature
>          Components: Core
>            Reporter: Jonathan Ellis
>            Assignee: Jonathan Ellis
>            Priority: Minor
>             Fix For: 0.7.1
>
>         Attachments: 
> 0001-better-digest-checking-for-ReadResponseResolver.patch, 
> 0001-r-m-SP.weakRead-rename-strongRead-to-fetchRows.-read-r.txt, 
> 0002-implement-read-repair-as-a-second-resolve-after-the-in.txt, 
> 0002-quorum-only-read.txt, 
> 0003-rename-QuorumResponseHandler-ReadCallback.txt, 
> 982-resolve-digests-v2.txt, rep_fix_01.patch
>
>   Original Estimate: 6h
>  Remaining Estimate: 6h
>
> CASSANDRA-930 made read repair "fuzzy optional," but this only helps with 
> ConsistencyLevel.ONE:
> - Quorum reads always send requests to all nodes
> - only the first Quorum's worth of responses get compared
> So what we'd like to do two changes:
> - only send read requests to the closest R live nodes
> - if read repair is enabled, also compare results from the other nodes in the 
> background

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to