You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by Jason Tang <ar...@gmail.com> on 2011/12/12 06:01:45 UTC

Consistence for node shutdown and startup

Hi

   Here is the case, if we have only two nodes, which share the data (write
one, read one),
   node One                              node Two
|  Stopped                                 Continue working and update the
data.
|  stopped                                  stopped
|  start working                           stopped
|  update data                             stopped
|  started                                    start working
v

 How about the conflict data when the two node on line separately. How it
synchronized by two nodes when they both on line finally?

BRs
//Tang Weiqiang

Re: Consistence for node shutdown and startup

Posted by Peter Schuller <pe...@infidyne.com>.
>  How about the conflict data when the two node on line separately. How it
> synchronized by two nodes when they both on line finally?

Briefly, it's based on timestamp conflict resolution. This may be a
good resource:

   http://www.datastax.com/docs/1.0/dml/about_writes#about-transactions

-- 
/ Peter Schuller (@scode, http://worldmodscode.wordpress.com)