Re: Initializing a commit hook

2016-11-18 Thread Mav erick
kken wrote: > Thanks for correcting that. Everything looks set up correctly. > > How are you saving objects? If you're using HTTP, what is the URL? > > Can you associate your precommit hook with a bucket type > ("test-bucket-type" below) that is *not* set up

Re: Initializing a commit hook

2016-11-18 Thread Mav erick
e_util","fun":"chash_std_keyfun"},"claimant":" riak@10.243.44.165", atype":"map","dvv_enabled":true,"dw":"quorum","last_write_wins":false,"linkfun":{"mod":"riak_kv_ ink_walke

Re: Initializing a commit hook

2016-11-18 Thread Mav erick
gt; Bstr = binary_to_list(Bucket), Btstr = binary_to_list(BucketType); Bucket -> Bstr = binary_to_list(Bucket), Btstr = <<"">> end, K = riak_object:key(Object), Kstr = binary_to_list(K), lager:info("MyHook Bucket type ~s, bucket ~s, key ~s [Btstr, Bstr, Kstr]

Initializing a commit hook

2016-11-17 Thread Mav erick
Folks Is there way RIAK can call an erlang function in a module when RIAK starts up ? Thanks Mav ___ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

A simple commit hook

2016-11-07 Thread Mav erick
Hello Folks I am looking for a really simple hook (pre or post commit) that will do send http put of the key to a server. I could also live with some simple send of the key via a tcp connection, or for that matter pipe the key value to a local process Any pointers on how to create such a hook or