You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by Timo Nentwig <ti...@toptarif.de> on 2011/05/25 12:39:19 UTC
Quorum + Token range confusion
Hi!
5 nodes, replication factor of 2, fifth node down.
As long as I write a single column with hector or pelops, it works. With 2 columns it fails
because there are supposed to few servers to reach quorum. Confusing. If I decommission the fifth
node with nodetool quorum works again and I can shut down another (the forth) node as expected.
The ring was manually balanced as described here:
http://wiki.apache.org/cassandra/Operations#Load_balancing.
Don't get it. Can somebody please explain?
thx
tcn
Re: Quorum + Token range confusion
Posted by Timo Nentwig <ti...@toptarif.de>.
On 5/25/11 14:08, Timo Nentwig wrote:
> On 5/25/11 13:45, Watanabe Maki wrote:
>> I think I don't get your situation yet, but if you use RF=2, CL=QUORUM is identical with CL=ALL.
>> Does it explain your experience?
>
> If it was CL=ALL, it would explain it, however I does not explain why it works when
> I decommission one node. RF=2 means that data is put on 2 nodes in total (not 3), right?
Just self-diagnosed dementia:
"I'ts 2 out of the number of replicas, not the number of nodes." - now I get it! :)
http://cassandra-user-incubator-apache-org.3065146.n2.nabble.com/Quorum-killing-1-out-of-3-server-kills-the-cluster-td5819523.html
Re: Quorum + Token range confusion
Posted by Timo Nentwig <ti...@toptarif.de>.
On 5/25/11 13:45, Watanabe Maki wrote:
> I think I don't get your situation yet, but if you use RF=2, CL=QUORUM is identical with CL=ALL.
> Does it explain your experience?
If it was CL=ALL, it would explain it, however I does not explain why it works when
I decommission one node. RF=2 means that data is put on 2 nodes in total (not 3), right?
Re: Quorum + Token range confusion
Posted by Watanabe Maki <wa...@gmail.com>.
I think I don't get your situation yet, but if you use RF=2, CL=QUORUM is identical with CL=ALL.
Does it explain your experience?
maki
On 2011/05/25, at 19:39, Timo Nentwig <ti...@toptarif.de> wrote:
> Hi!
>
> 5 nodes, replication factor of 2, fifth node down.
>
> As long as I write a single column with hector or pelops, it works. With 2 columns it fails
> because there are supposed to few servers to reach quorum. Confusing. If I decommission the fifth
> node with nodetool quorum works again and I can shut down another (the forth) node as expected.
>
> The ring was manually balanced as described here:
> http://wiki.apache.org/cassandra/Operations#Load_balancing.
>
> Don't get it. Can somebody please explain?
>
> thx
> tcn