Keys location

Daniil Churikov ddosia at gmail.com
Mon Apr 16 00:01:46 EDT 2012


actualy no, if you use riak pipes and want to execute pipe where data
located, you should choose chashfun, which will produce chash of {Bucket,
Key} and then riak_pipe choose partiotion fo you. But afaik there no
guarantee that data located there, you could go further by pref list.
Usualy you need riak_core_util:chash_key/1 to do this. But how riak_pipes
choose parition list for you by this 160-bit chash i dont know.

--
View this message in context: http://riak-users.197444.n3.nabble.com/Keys-location-tp3913326p3913508.html
Sent from the Riak Users mailing list archive at Nabble.com.




More information about the riak-users mailing list