It's possible but ... uhm... Tedious. You would have to use the pre flush and compaction scanner open hooks, do the TTL calculation yourself for each KeyValue that passes through the scanner and then act accordingly.
Checkout RegionObserver.preCompactScannerOpen(...) and preFlushScannerOpen(...) It's possible we could add something like this. -- Lars ________________________________ From: Guillermo Ortiz <[email protected]> To: "[email protected]" <[email protected]> Sent: Monday, July 21, 2014 5:24 AM Subject: Coprocessor beacuse of TTL expired? I want to use coprocessors (observers), Could I execute an coprocessors which executes my code when a row expired because the TTL has expired? will it be executed automatically? I mean,, without any scan or get over that row?? it's a pre and post delete or which observer?
