Apologies that it's unclear, and I'll update the docs to correct this.

http://docs.basho.com/riak/latest/ops/advanced/install-custom-code/

When you install custom code, you must install that code on every node.

Eric

On Oct 17, 2013, at 9:17 AM, Tristan Foureur <[email protected]> wrote:

> Hi,
> 
> My question is simple, but really I cannot find a clear answer anywhere in 
> the documentation. I understand how a cluster works, and how a hook works, 
> but if you have a hook on a certain bucket and commit to a node on that 
> bucket, is the hook triggered only on that node, on all the nodes, or only on 
> the nodes that will actually host that key?
> 
> I ask this because I deployed my pre-commit hook to one node only, and then 
> sometimes the insert failed telling me my precommit hook was "undef", and it 
> was fixed by deploying the hook to all vnodes.
> 
> Thanks!
> _______________________________________________
> 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