Differences between riak_client and riak_kv_mrc_pipe MapReduce when one node is down.
bryan at basho.com
Thu Jan 31 16:59:17 EST 2013
On Thu, Jan 31, 2013 at 1:46 PM, <gunin at mail.mipt.ru> wrote:
> I'm try fix this bug.
> 1. Add fucntion for generating ConsHashCookie in riak_kv_mrc_pipe
> It's taking account of which nodes are up.
> 2. Remove Hash = chash:key_of(ConstHashCookie) in reduce2pipe function.
> After that all work fine.
Excellent! That was exactly the hunch I was hinting at. I wasn't using
the prereduce phase, and that is why I couldn't reproduce exactly what
you were seeing.
I like your solution. Please do submit a pull request for it. Thank
you for digging!
More information about the riak-users