Reaping Tombstones

Nick Marino nmarino at
Tue Jan 3 13:32:20 EST 2017

We have new tombstone reaping functionality in the works for Riak KV 2.3,
which should allow for safe and automatic removal of old leftover
tombstones. In the mean time, you can potentially trigger the deletion of
old, leftover tombstones by doing reads to those keys; if all the primary
replicas return the tombstone then Riak will automatically try and remove

Note, however, that this will not immediately reclaim disk space. Deletion
of the tombstone by Riak will still leave behind a backend tombstone for
some amount of time. See the docs here for more info on this:

As for estimating disk space used by tombstones, I'm afraid I don't know of
any easy way to do that. Hopefully someone else may have a good suggestion


On Fri, Dec 30, 2016 at 9:55 AM, Arun Rajagopalan <
arun.v.rajagopalan at> wrote:

> Hello Riakers
> I wonder if there is anyway to delete all tombstones that were left behind
> when delete_mode was set to 'keep'
> 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. If it does, how do I remove them?
> Thanks and wish you all Happy, Peaceful and Prosperous  2017 !
> _______________________________________________
> riak-users mailing list
> riak-users at
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the riak-users mailing list