I understood it as a "run trigger when column gets deleted due to TTL",
so - as you said - it doesn't sound like something that can be done.
Gareth, TTL'd columns in Cassandra are not really removed after TTL -
they are just ignored from that time (so they're not returned by
queries), but they still exist as long as they're not tombstoned and
then removed after grace period. Cassandra doesn't know about the exact
moment they become "outdated" due to TTL. It could be doable to do
something when they get converted to tombstone, but I don't think it's
the use case you're looking for.
M.
I do not understand what feature you suggesting. Columns can already have a
ttl. Are you speaking of a ttl column that could delete something beside
itself.
That does not sound easy because a ttl comment is dorment until read or
compacted.
On Tuesday, June 11, 2013, Gareth Collins <[email protected]>
wrote:
Hello Edward,
I am curious - What about triggering on a TTL timeout delete (something I
am most interested in doing - perhaps it doesn't make sense?)? Would you
say that is something the user should implement themselves? Would you see
intravert being able to do something with this at some later point
(somehow?)?
thanks,
Gareth
On Tue, Jun 11, 2013 at 2:34 PM, Edward Capriolo <[email protected]>
wrote:
This is arguably something you should do yourself. I have been
investigating integrating vertx and cassandra together for a while to
accomplish this type of work, mainly to move processing close to data and
eliminate large batches that can be computed from a single map of data.
https://github.com/zznate/intravert-ug/wiki/Service-Processor-for-trigger-like-functionality
On Tue, Jun 11, 2013 at 5:06 AM, Tanya Malik <[email protected]>
wrote:
Thanks Romain.
On Tue, Jun 11, 2013 at 1:44 AM, Romain HARDOUIN <
[email protected]> wrote:
Not yet but Cassandra 2.0 will provide experimental triggers:
https://issues.apache.org/jira/browse/CASSANDRA-1311
Tanya Malik <[email protected]> a écrit sur 11/06/2013 04:12:44 :
De : Tanya Malik <[email protected]>
A : [email protected],
Date : 11/06/2013 04:13
Objet : Coprosessors/Triggers in C*
Hi,
Does C* support something like co-processor functionality/triggers
to
run client-supplied code in the address space of the server?