You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by Mohammad Hajjat <ha...@purdue.edu> on 2013/10/27 02:25:50 UTC
Writing same key on two nodes using ONE consistency
Hi,
Quick question about Cassandra.
If I write the same key (with two different values) to two different nodes
with consistency of ONE. Assuming 'SimpleStrategy' and no replication.
Would each node receiving the request write that key in its local storage
and return success (thus we end up with same key having two different
values on the two nodes)? Or would each node forward the write request to
the node responsible to hold that key (determined by the hash function)?
Thanks!
--
*Mohammad Hajjat*
*Ph.D. Student*
*Electrical and Computer Engineering*
*Purdue University*
Re: Writing same key on two nodes using ONE consistency
Posted by Dave Brosius <db...@mebigfatguy.com>.
each node would forward the write request to the node responsible to
hold that key (determined by the hash function)
On 10/26/2013 09:25 PM, Mohammad Hajjat wrote:
> Hi,
>
> Quick question about Cassandra.
> If I write the same key (with two different values) to two different
> nodes with consistency of ONE. Assuming 'SimpleStrategy' and no
> replication.
> Would each node receiving the request write that key in its local
> storage and return success (thus we end up with same key having two
> different values on the two nodes)? Or would each node forward the
> write request to the node responsible to hold that key (determined by
> the hash function)?
>
> Thanks!
> --
> *Mohammad Hajjat*
> *Ph.D. Student*
> *Electrical and Computer Engineering*
> *Purdue University*