Mav -

Please remember to use "Reply All" so that the riak-users list can
learn from what you find out. Thanks.

Thebucket = riak_object:bucket(Object),

Can you check to see if "Thebucket" is really a two-tuple of
"{BucketType, Bucket}"? I believe that is what is returned.

--
Luke Bakken
Engineer
lbak...@basho.com

On Fri, Nov 18, 2016 at 10:54 AM, Mav erick <mav4...@gmail.com> wrote:
> I have some initializing to do - like connecting to a notification server,
> before I can use the commit hook. But I think I have figured that out now
> that I learnt about supervisors and OTP
>
> I have one other question though ...
> How do I get the bucket type of the bucket of the key that was committed ?
>
> I am using these to get the key and bucket names. But I cant seem to find a
> call to get the bucket's bucket type
>
>   Thebucket = riak_object:bucket(Object),
>   Thekey = riak_object:key(Object),
>
> Thanks !
>
> On 18 November 2016 at 12:14, Luke Bakken <lbak...@basho.com> wrote:
>>
>> Mav -
>>
>> Can you go into more detail? The subject of your message is
>> "initializing a commit hook".
>>
>> --
>> Luke Bakken
>> Engineer
>> lbak...@basho.com
>>
>> On Thu, Nov 17, 2016 at 9:09 AM, Mav erick <mav4...@gmail.com> wrote:
>> > 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

Reply via email to