Riak consistency state hook

Kresten Krab Thorup krab at trifork.com
Tue Jul 9 09:50:57 EDT 2013


You can get the last minute and aggregate number of read repairs from riak stats.  Right now for instance, one of my riaks says this in response to "riak-admin stats".

read_repairs : 91
read_repairs_total : 3714893

Kresten


Mobile: + 45 2343 4626 | Skype: krestenkrabthorup | Twitter: @drkrab
Trifork A/S  |  Margrethepladsen 4  | DK- 8000 Aarhus C |  Phone : +45 8732 8787  |  www.trifork.com
On Jul 9, 2013, at 3:46 PM, Todd Tyree <todd at basho.com> wrote:

> Hello Evgeniy, 
> 
> The consistency mechanisms, Hinted Handoff, Active Anti-Entropy (AAE) and Read Repair, all occur automatically.  You can get an overview  of the Hinted Handoff progress using `riak-admin transfers`.  If you need more detail, you can parse the cluster logs and look for the entries related to Hinted Handoff and AAE.  As Read Repair is done on a per-request basis, it is not logged.  
> 
> Hope that helps,
> 
> Best,
> Todd
> 
> 
> On Tue, Jul 9, 2013 at 2:09 PM, Evgeniy Shishkin <evgeniy.shishkin at gmail.com> wrote:
> Hello gentlemen!
> 
> Lets say we have a cluster of 6 machines. Somewhere in time 3 machines (A part) got separated from 3 other machines (B part). After that I did some commits on B part (w = 3, handoff occured).
> 
> Later the network partitioning has gone. A and B parts are now connected again. One of consistency mechanisms will start to do its job to make DB consistent.
> 
> 1. Do I have any chance to be acknowledged when this consistency thing will finish its job? 
> 
> 2. More generally, do you think that such mechanism might be useful for end users? 
> 
> Thank you for your effort.
> 
> Evgeniy.
> 
> _______________________________________________
> riak-users mailing list
> riak-users at lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
> 
> 
> _______________________________________________
> riak-users mailing list
> riak-users at lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com





More information about the riak-users mailing list