You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Sandeep Tata (JIRA)" <ji...@apache.org> on 2009/08/11 03:57:14 UTC

[jira] Updated: (CASSANDRA-195) Improve bootstrap algorithm

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

Sandeep Tata updated CASSANDRA-195:
-----------------------------------

    Attachment: 195-v1.patch

1. Allows you to start cassandra in bootstrap mode "bin/cassandra -b"
2. If reads arrive at this node during bootstrap from a client, they are served using remoteRead
3. If reads arrive at this node during bootstrap from another node, they are dropped
4. Until bootstrap is complete, node tells other nodes that it is in "bootstrap mode" -- this info is used to *not* send reads to this node.
5. The bootstrap code is not tested for multiple new nodes (>1) are added between 2 existing nodes


> Improve bootstrap algorithm
> ---------------------------
>
>                 Key: CASSANDRA-195
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-195
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>         Environment: all
>            Reporter: Sandeep Tata
>            Assignee: Sandeep Tata
>             Fix For: 0.5
>
>         Attachments: 195-v1.patch
>
>
> When you add a node to an existing cluster and the map gets updated, the new node may respond to read requests by saying it doesn't have any of the data until it gets the data from the node(s) the previously owned this range (the load-balancing code, when working properly can take care of this). While this behaviour is compatible with eventual consistency, it would be much friendlier for the new node not to "surface" in the EndPoint maps for reads until it has transferred the data over from the old nodes.

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