Re: Measuring Read Repairs

2017-08-25 Thread Jeff Jirsa
Chuck Reynolds wrote: > > I’m running queries based on the token ranges to initiate read repairs > across datacenter. > > Example query with CONSISTENCY set to ALL > SELECT *token*(*test_guid*), test_guid FROM test_table WHERE > token(test_guid)>6546138161478345924 AND token(test

Re: Measuring Read Repairs

2017-08-25 Thread Akhil Mehra
You can run nodetool tpstats on your nodes and check the output for the ReadRepairStage. Cheers, Akhil > On 26/08/2017, at 6:54 AM, Chuck Reynolds wrote: > > I’m running queries based on the token ranges to initiate read repairs across > datacenter. > > Example query wi

Measuring Read Repairs

2017-08-25 Thread Chuck Reynolds
I’m running queries based on the token ranges to initiate read repairs across datacenter. Example query with CONSISTENCY set to ALL SELECT token(test_guid), test_guid FROM test_table WHERE token(test_guid)>6546138161478345924 AND token(test_guid)<6571069709219758671; Is there a way to t

Re: Read Repairs and CL

2016-08-30 Thread Ben Slater
Thanks Sam - a couple of subtleties there that we missed in our review. Cheers Ben On Tue, 30 Aug 2016 at 19:42 Sam Tunnicliffe wrote: > Just to clarify a little further, it's true that read repair queries are > performed at CL ALL, but this is slightly different to a regular, > user-initiated

Re: Read Repairs and CL

2016-08-30 Thread Sam Tunnicliffe
Just to clarify a little further, it's true that read repair queries are performed at CL ALL, but this is slightly different to a regular, user-initiated query at that CL. Say you have RF=5 and you issue read at CL ALL, the coordinator will send requests to all 5 replicas and block until it receiv

Re: Read Repairs and CL

2016-08-28 Thread Ben Slater
In case anyone else is interested - we figured this out. When C* decides it need to do a repair based on a digest mismatch from the initial reads for the consistency level it does actually try to do a read at CL=ALL in order to get the most up to date data to use to repair. This led to an interest

Read Repairs and CL

2016-08-27 Thread kurt Greaves
Looking at the wiki for the read path ( http://wiki.apache.org/cassandra/ReadPathForUsers), in the bottom diagram for reading with a read repair, it states the following when "reading from all replica nodes" after there is a hash mismatch: If hashes do not match, do conflict resolution. First step

Re: Read Repairs

2011-07-30 Thread Adi
read_repair_chance: Probability (0.0-1.0) with which to perform read repairs on CL.ONE reads Default is 1.0 your CL.ONE reads will trigger read repairs for all reads. You can update your column families definition to reduce that chance. For the CL.ALL writes you can consider turning it off by

Read Repairs

2011-07-30 Thread Philippe
Hello, I have a 3-node ring at RF=3 that is doing reads & writes. I am using two types of consistency levels. - write ALL,read ONE for one set of column families - write QUORUM, read ONE for another set of families Every day, I have a cron job that runs a nodetool repair on each node. The n