Re: ONE consistency required 2 writes? huh?

2014-07-23 Thread Olivier Michallat
Hi Kevin,

This message was likely generated by the Java driver, not by Cassandra.

I'll follow up to your other post on the driver's mailing list.

-- Olivier


On Wed, Jul 23, 2014 at 4:37 AM, Kevin Burton bur...@spinn3r.com wrote:

 Perhaps it's me but it seems this exception is wrong:

 Cassandra timeout during write query at consistency ONE (2 replica were
 required but only 1 acknowledged the write)

 .. but the documentation for ONE says:

  A write must be written to the commit log and memory table of at least
 one replica node.
 … so… in my situation… 1 replica DID ack the write… so why am I getting an
 exception?

 Maybe I'm jut not interpreting the exception correctly?

 --

 Founder/CEO Spinn3r.com
 Location: *San Francisco, CA*
 blog: http://burtonator.wordpress.com
 … or check out my Google+ profile
 https://plus.google.com/102718274791889610666/posts
 http://spinn3r.com




ONE consistency required 2 writes? huh?

2014-07-22 Thread Kevin Burton
Perhaps it's me but it seems this exception is wrong:

Cassandra timeout during write query at consistency ONE (2 replica were
required but only 1 acknowledged the write)

.. but the documentation for ONE says:

 A write must be written to the commit log and memory table of at least
one replica node.
… so… in my situation… 1 replica DID ack the write… so why am I getting an
exception?

Maybe I'm jut not interpreting the exception correctly?

-- 

Founder/CEO Spinn3r.com
Location: *San Francisco, CA*
blog: http://burtonator.wordpress.com
… or check out my Google+ profile
https://plus.google.com/102718274791889610666/posts
http://spinn3r.com