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
[email protected]
On Fri, Nov 18, 2016 at 10:54 AM, Mav erick <[email protected]> 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 <[email protected]> wrote:
>>
>> Mav -
>>
>> Can you go into more detail? The subject of your message is
>> "initializing a commit hook".
>>
>> --
>> Luke Bakken
>> Engineer
>> [email protected]
>>
>> On Thu, Nov 17, 2016 at 9:09 AM, Mav erick <[email protected]> wrote:
>> > Folks
>> >
>> > Is there way RIAK can call an erlang function in a module when RIAK
>> > starts
>> > up ?
>> >
>> > Thanks
>> > Mav
>
>
_______________________________________________
riak-users mailing list
[email protected]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com