Hi everybody!

I've read in the "basic-mapreduce.txt" doc file that it is necessary to
reload the map/reduces functions in the riak node if they change, and "The
easiest way to reload a module on a Riak node is to get a Riak  client, then
call Client:reload_all(Module).".

so, while developping a map function , i was using this call to reload it in
my riak node (I was using one node).

But I noticed some curious behaviour:

If I perfortm the map using a first version of the map function, lets call
it v1, of course I'll get a list of results. and when I modify the function
to an other version, lets call it v2, reload it in teh riak node as
recommended above (using Client:reload_all(Module)) and performe again the
map. Some elements of the new list are the result get using the v2 version
but the other ones remains the results got using the v1 version.

so I guess thet the nes map function was not correctly reloaded. what is the
matter?

NB: when I restart the riak node, it works perfectly of course
_______________________________________________
riak-users mailing list
[email protected]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to