Re: tpstats confusion

2011-08-12 Thread aaron morton
Turn the logging up to DEBUG, if you want to you can do it just for org.apache.cassandra.service.StorageProxy , and look for… * forwarding counter update of key… when the coordinator is forwarding the counter update * insert writing local & replicate… when a counter mutation is applied locally

Re: tpstats confusion

2011-08-12 Thread Ian Danforth
Thanks! This would make sense but I'm not sure it maps to what I'm seeing. Specifically if I start processes that write to each of the three nodes, so I know there is a constant stream of writes to each node, instead of seeing replicate on write on all nodes, I see it only on a single node. It app

Re: tpstats confusion

2011-08-11 Thread aaron morton
I've not checked the code but from memory when the nodes are ordered in proximity to the coordinator the local node is always first if it's in the replica set. So with RF=3 and N=3 the closest node is always the local one. Cheers - Aaron Morton Freelance Cassandra Developer @a

Re: tpstats confusion

2011-08-11 Thread Ian Danforth
I'm writing at QUORUM though and (pardon me for being dense) it would seem that the first replica shouldn't always be on the same server if I'm using RP. I very much appreciate your time, I'm sure there is something basic that just hasn't clicked. Ian On Thu, Aug 11, 2011 at 2:56 PM, Jonathan El

Re: tpstats confusion

2011-08-11 Thread Jonathan Ellis
https://issues.apache.org/jira/browse/CASSANDRA-2889 On Thu, Aug 11, 2011 at 2:55 PM, Ian Danforth wrote: > I don't think so, perhaps more succinctly, why would ROW actions only be > performed on a single node? > Ian > > On Wed, Aug 10, 2011 at 8:12 PM, Jonathan Ellis wrote: >> >> are you i/o bo

Re: tpstats confusion

2011-08-11 Thread Ian Danforth
I don't think so, perhaps more succinctly, why would ROW actions only be performed on a single node? Ian On Wed, Aug 10, 2011 at 8:12 PM, Jonathan Ellis wrote: > are you i/o bound? I believe counter ROW needs to perform a read of > the old value. > > On Wed, Aug 10, 2011 at 7:17 PM, Ian Danfor

Re: tpstats confusion

2011-08-10 Thread Jonathan Ellis
are you i/o bound? I believe counter ROW needs to perform a read of the old value. On Wed, Aug 10, 2011 at 7:17 PM, Ian Danforth wrote: > Hello all! > Thanks for taking the time to read this, I'm new to Cassandra and really > want to get it working :) > Below you'll find the output from tpstats