Colin - 

You can reload predefined JS functions on a Riak server by running 'riak-admin 
js_reload'. This should cause Riak to reload all predefined JS functions.

--Kevin
On Apr 27, 2010, at 11:40 AM, Colin Surprenant wrote:

> Hi,
> 
> It looks like Riak is caching my named javascript functions WITHIN an
> anonymous map function.
> 
> For example my mapper is something similar to:
> 
> function(v) {
>  var innerfunction = function(arg) {
>    ...
>  }
>  ...
> }
> 
> and modifications to my innerfunction are not picked up when executing
> my mapreduce job.
> 
> Is this a known behavior and is there a way for me to control the
> javascript function caching?
> 
> Thanks,
> Colin
> 
> _______________________________________________
> riak-users mailing list
> [email protected]
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com


_______________________________________________
riak-users mailing list
[email protected]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to