riak_core & node down question
konstantin.kalin at gmail.com
Thu Jul 4 12:20:22 EDT 2013
Thanks, Chris. I was looking at them already but I didn't get list of
affected vnodes for some reason. Now you have confirmed that this is right
direction I will continue playing with it.
On Jul 4, 2013 9:10 AM, "Chris Meiklejohn" <cmeiklejohn at basho.com> wrote:
> On Tue, Jul 2, 2013 at 11:15 PM, Konstantin Kalin <
> konstantin.kalin at gmail.com> wrote:
>> I'm playing with riak_core to build a prototype. Thanks for giving such
>> powerful framework to build a distributed app :)
>> Looking at source code and examples I learn how to handle hinted
>> handoff(s). It works really nice. But I wondered how to handle a node crash
>> (when a node goes down unexpectedly for some reasons).
>> Is there anyway I can be notified about node-down and get list of vnodes
>> that were primary on that failed node?
> I'd look into riak_core_node_watcher  and riak_core_node_watcher_events
> . They should help you build what you're looking for.
> - Chris
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the riak-users