Re: Counter values become under-counted when running repair.

2016-03-28 Thread Dikang Gu
Hi Aleksey, do you get a chance to take a look? Thanks Dikang. On Thu, Mar 24, 2016 at 10:30 PM, Dikang Gu wrote: > @Aleksey, sure, here is the jira: > https://issues.apache.org/jira/browse/CASSANDRA-11432 > > Thanks! > > On Thu, Mar 24, 2016 at 5:32 PM, Aleksey Yeschenko > wrote: > >> Best op

Re: Counter values become under-counted when running repair.

2016-03-24 Thread Dikang Gu
@Aleksey, sure, here is the jira: https://issues.apache.org/jira/browse/CASSANDRA-11432 Thanks! On Thu, Mar 24, 2016 at 5:32 PM, Aleksey Yeschenko wrote: > Best open a JIRA ticket and I’ll have a look at what could be the reason. > > -- > AY > > On 24 March 2016 at 23:20:55, Dikang Gu (dikan...

Re: Counter values become under-counted when running repair.

2016-03-24 Thread Aleksey Yeschenko
Best open a JIRA ticket and I’ll have a look at what could be the reason. --  AY On 24 March 2016 at 23:20:55, Dikang Gu (dikan...@gmail.com) wrote: @Aleksey, we are writing to cluster with CL = 2, and reading with CL = 1. And overall we have 6 copies across 3 different regions. Do you have

Re: Counter values become under-counted when running repair.

2016-03-24 Thread Dikang Gu
@Aleksey, we are writing to cluster with CL = 2, and reading with CL = 1. And overall we have 6 copies across 3 different regions. Do you have comments about our setup? During the repair, the counter value become inaccurate, we are still playing with the repair, will keep you update with more expe

Re: Counter values become under-counted when running repair.

2016-03-24 Thread Aleksey Yeschenko
After repair is over, does the value settle? What CLs do you write to your counters with? What CLs are you reading with? --  AY On 24 March 2016 at 06:17:27, Dikang Gu (dikan...@gmail.com) wrote: Hello there, We are experimenting Counters in Cassandra 2.2.5. Our setup is that we have 6 nod

Re: Counter values become under-counted when running repair.

2016-03-24 Thread Robert Coli
On Thu, Mar 24, 2016 at 7:17 AM, Jack Krupansky wrote: > Can you advise us on your thinking when you selected RF=2? > I figure he was probably thinking "I want to operate in a bunch of different regions and don't need to use QUORUM for my use cases, and want to save money by not storing 3 copies

Re: Counter values become under-counted when running repair.

2016-03-24 Thread Dikang Gu
@Jack, we write to 2 and read from 1. I do not understand why RF=2 matters here, will it have impact on the repair? Can you please explain more? I select RF=2 in each region, because: 1. all 2 writes will be sent to local region, so we do not need to wait for the response across region. 2. if one

Re: Counter values become under-counted when running repair.

2016-03-24 Thread Jack Krupansky
What CL do you read and write with? Normally, RF=2 is not recommended since it doesn't give you HA within a data center - there is no way to achieve quorum in the data center if a node goes down. I suppose you can achieve a quorum if your request is spread across all three data centers, but norma

Counter values become under-counted when running repair.

2016-03-23 Thread Dikang Gu
Hello there, We are experimenting Counters in Cassandra 2.2.5. Our setup is that we have 6 nodes, across three different regions, and in each region, the replication factor is 2. Basically, each nodes holds a full copy of the data. When are doing 30k/s counter increment/decrement per node, and at