Not to be rude, because I think this is a good question and warrants an answer: 
but you might have more luck on the riak-core list

http://lists.basho.com/mailman/listinfo/riak-core_lists.basho.com

Cheers

Russell

On 13 Feb 2015, at 13:55, Roman Shestakov <roman.shesta...@gmail.com> wrote:

> Hello,
> 
> I am wandering if there is a way to do the following in riak_core
> 
> 1. I need to collect data from all the vnodes which are currently located on 
> a given node.
> 2. I understand that it is ether possible to make a call to vnode given the 
> hash key or it's possible to make a coverage call to all vnodes in the 
> cluster.
> 3 . But in my case I only need to get all the data from vnodes living on a 
> given physical host. 
> 
> Is there a well defined way of doing this?
> 
> I can see in api there is a riak_core_apl:active_owners call which returns 
> Indexnodes pairs so it is possible to filter by a node and the call each 
> Indexnode with riak_core_vnode_master:synch_spawn_command but maybe there is 
> a better way of doing this?
> 
> Regards, Roman
> 
> Sent from my iPhone
> _______________________________________________
> riak-users mailing list
> riak-users@lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com


_______________________________________________
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to