Question about Hooks & Nodes

Eric Redmond eredmond at basho.com
Thu Oct 17 12:45:57 EDT 2013


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 <esya at me.com> 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
> riak-users at lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20131017/0db7e740/attachment.html>


More information about the riak-users mailing list