You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cassandra.apache.org by Muntasir Raihan Rahman <mu...@gmail.com> on 2013/02/15 23:24:42 UTC

Understanding Read and Writes During Transient States

Hi,

I am trying to understand what happens to reads and writes to cassandra
while nodes leave or join the system. Specifically, what happens when a
node is about to leave or join, but gets a read/write request?

Any pointers on this?

Muntasir.

-- 
Best Regards
Muntasir Raihan Rahman
Email: muntasir.raihan@gmail.com
Phone: 1-217-979-9307
Department of Computer Science,
University of Illinois Urbana Champaign,
3111 Siebel Center,
201 N. Goodwin Avenue,
Urbana, IL  61801

Re: Understanding Read and Writes During Transient States

Posted by Edward Capriolo <ed...@gmail.com>.
When a node is joining/bootstrapping the ring and replication factor
is 3, the write operation should be delivered to 4 nodes. The three
current natural endpoints and the new one. In this way if the joining
node fails to join the other nodes did not miss any writes.

The joining node will not answer read requests until it is done bootstrapping.

On Fri, Feb 15, 2013 at 5:24 PM, Muntasir Raihan Rahman
<mu...@gmail.com> wrote:
> Hi,
>
> I am trying to understand what happens to reads and writes to cassandra
> while nodes leave or join the system. Specifically, what happens when a
> node is about to leave or join, but gets a read/write request?
>
> Any pointers on this?
>
> Muntasir.
>
> --
> Best Regards
> Muntasir Raihan Rahman
> Email: muntasir.raihan@gmail.com
> Phone: 1-217-979-9307
> Department of Computer Science,
> University of Illinois Urbana Champaign,
> 3111 Siebel Center,
> 201 N. Goodwin Avenue,
> Urbana, IL  61801