[ 
https://issues.apache.org/jira/browse/CASSANDRA-375?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sandeep Tata updated CASSANDRA-375:
-----------------------------------

    Attachment: 375.patch

Here's what the patch does:

1. Switch bootstrapNodes in TokenMetadata to Map<Token,EndPoint> so 
RackUnawareStrategy can use it.
2. Fix AbstractStrategy and RackUnawareStrategy to incorporate the 
bootstrapping nodes for getHintedStorageEndPoints through 
StorageService.getNStorageEndPointMap (now used by insert and insertBlocking 
after 383)
3. Add unit test fot RackUnawareStrategy to test if bootstrapping nodes are 
being returned correctly.

> Echo writes to bootstrapping nodes
> ----------------------------------
>
>                 Key: CASSANDRA-375
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-375
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>         Environment: All
>            Reporter: Sandeep Tata
>            Assignee: Sandeep Tata
>             Fix For: 0.5
>
>         Attachments: 375.patch
>
>
> Writes that arrive during bootstrap need to be sent to the r replicas as well 
> as the new node being bootstrapped. In the current code, only the existing 
> replicas get the writes that arrive during bootstrap.

-- 
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