RiakTS TTL

Pavel Hardak pavel at basho.com
Wed Nov 2 01:34:30 EDT 2016


Hi Joe,

1. I am curious why you would need it. Can you please elaborate on the use
case?
2. In addition to Matthew response, please see
http://docs.basho.com/riak/ts/1.4.0/using/global-object-expiration
3. Do you refer to something like post-commit hook in Riak KV:
http://docs.basho.com/riak/kv/2.1.4/developing/usage/commit-hooks/ ?

Thanks,
Pavel



*Pavel Hardak* | Director of Product Management @ Basho


---------- Forwarded message ----------
> From: Matthew Von-Maszewski <matthewv at basho.com>
> Date: Tue, Nov 1, 2016 at 1:01 PM
> Subject: Re: RiakTS TTL
> To: Joe Olson <technology at nododos.com>
> Cc: riak-users <riak-users at lists.basho.com>
>
>
> 1.  The global expiry module is an external C++ module that is open
> source.  There is no definition at this time for an Erlang callback, but
> the design supports it.  You can patch the open source code now.
>
> 2.  The TTL has two components:  when the record is written and number of
> minutes until expiry.  The write time goes into each record.  The number of
> minutes until expiry is loaded at start.  A change to the global minutes
> until expiry impacts the evaluation of all records.  A subsequent release
> will allow distinct TTL by table.
>
> 3.  Not my area of the code.
>
> Matthew
>
> On Nov 1, 2016, at 3:46 PM, Joe Olson <technology at nododos.com> wrote:
>
> Two questions about the RiakTS TTL functionality (and its future
> direction):
>
> 1. Is it possible to replace the standard delete upon TTL expiry with a
> user defined delete?
> 2. Can the current global setting for the TTL timeout be changed? Will
> that affect new records going forward?
>
> Bonus question:
> 3. Are there any plans to implement general triggering in RiakTS?
>
>
> _______________________________________________
> riak-users mailing list
> riak-users at lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>
>
>
> _______________________________________________
> riak-users mailing list
> riak-users at lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>
>
>
>
> --
> *Dorothy Pults - **Sr. Director of Product Marketing*
> 425 435 8198
> Bellevue, WA
> www.basho.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20161101/cf7546c3/attachment-0002.html>


More information about the riak-users mailing list