Re: consistency level question

2012-03-20 Thread Tamar Fraenkel
> > * > > From: Tamar Fraenkel > Reply-To: "user@cassandra.apache.org" > Date: Sun, 18 Mar 2012 04:20:58 -0400 > To: "user@cassandra.apache.org" > Subject: Re: consistency level question > > Thanks! > I updated replication factor to 2, and now

Re: consistency level question

2012-03-19 Thread aaron morton
e.com >> >> >> From: Tamar Fraenkel >> Reply-To: "user@cassandra.apache.org" >> Date: Sun, 18 Mar 2012 04:20:58 -0400 >> To: "user@cassandra.apache.org" >> Subject: Re: consistency level question >> >> Thanks! >> I

Re: consistency level question

2012-03-18 Thread Watanabe Maki
m: Tamar Fraenkel > Reply-To: "user@cassandra.apache.org" > Date: Sun, 18 Mar 2012 04:20:58 -0400 > To: "user@cassandra.apache.org" > Subject: Re: consistency level question > > Thanks! > I updated replication factor to 2, and now when I took one node

Re: consistency level question

2012-03-18 Thread Caleb Rackliffe
gt;" mailto:user@cassandra.apache.org>> Date: Sun, 18 Mar 2012 04:20:58 -0400 To: "user@cassandra.apache.org<mailto:user@cassandra.apache.org>" mailto:user@cassandra.apache.org>> Subject: Re: consistency level question Thanks! I updated replication factor to 2, and now when I to

Re: consistency level question

2012-03-18 Thread Tamar Fraenkel
Thanks! I updated replication factor to 2, and now when I took one node down all continued running (I did see Hector complaining on the node being down), but things were saved to db and read from it. Just so I understand, now, having replication factor of 2, if I have 2 out of 3 nodes running all

Re: consistency level question

2012-03-18 Thread Watanabe Maki
Because your RF is 1, so you need all nodes up. maki On 2012/03/18, at 16:15, Tamar Fraenkel wrote: > Hi! > I have a 3 node cassandra cluster. > I use Hector API. > > I give hecotr one of the node's IP address > I call setAutoDiscoverHosts(true) and setRunAutoDiscoveryAtStartup(true). > > Th

Re: consistency level question

2012-03-18 Thread Tamar Fraenkel
Hi! Thanks for the prompt answer, That is true, I intend to have it at two. What you say, is that if I change that, then even when the node is down, my application will be able to read\write from the other node where the data is replicated? Forgot to mention that I have ConfigurableConsist

Re: consistency level question

2012-03-18 Thread Caleb Rackliffe
If your replication factor is set to one, your cluster is obviously in a bad state following any node failure. At best, I think it would make sense that about a third of your operations fail, but I'm not sure why all of them would. I don't know if Hector just refuses to work with a compromised