On 30 December 2016 at 15:06, Matthew Von-Maszewski <matth...@basho.com> wrote:
> Greetings,
>
> I am not able to answer your tombstone questions.  That question needs a
> better expert.
>
> Just wanted to point out that Riak now has global expiry in both the leveldb
> and bitcask backends.  That might be a quicker solution for your frequent
> delete operations:
>
>   http://basho.com/products/riak-kv/global-object-expiration/
>
> Technical details for the leveldb expiry are found here:
>   https://github.com/basho/leveldb/wiki/mv-expiry
>
> Matthew
>
> On Dec 30, 2016, at 9:55 AM, Arun Rajagopalan <arun.v.rajagopa...@gmail.com>
> wrote:
>
> Hello Riakers
>
> I wonder if there is anyway to delete all tombstones that were left behind
> when delete_mode was set to 'keep'

Hi Arun,

Brute-force rate-limited map-reduce custom application code looking
for `X-Riak-Deleted` in object metadata and then deleting? Refs:
* 
http://docs.basho.com/riak/kv/2.2.0/developing/app-guide/advanced-mapreduce/#map-phase
* 
https://github.com/basho/basho_docs/blob/6b2f42a7243bfded737bd62eed12c490376c67e2/content/riak/kv/2.2.0/developing/app-guide/advanced-mapreduce.md#map-phase

Interested to hear if you come up with a better way though.


> Also how do I estimate how much space the tombstones take ? We have a ton of
> large scale and frequent delete operations and I suspect some space is used
> by Tombstones. I would like to find out if it is significant enough to
> warrant some cleanup.

I understand this is a separate question - I am not sure about the answer.


> If it does, how do I remove them?

I believe I proposed an answer above.


Regards
Luca

_______________________________________________
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to