how can I trigger a manual merge?

Justin Sheehy justin at basho.com
Sat Jul 30 17:29:36 EDT 2011


A direct call to bitcask:merge could force all of the files to be
processed, including the removal of expired entries. That won't happen
under normal Riak operation as none of the triggers will be passed by
your use, but you could certainly write a script to do it directly.

-Justin



On Fri, Jul 29, 2011 at 7:36 PM, Steve Webb <swebb at gnip.com> wrote:
> So, I'm still working on an "insert and never delete" use of riak.  I'm
> expiring data after a certain amount of time, but from what I've heard/read,
> it's not possible to trigger a merge at all with my usage pattern.
>
> So, is there a way for me to write something in erlang or something that I
> can throw into cron to do periodic merges and clean things up?
>
> - Steve
>
> --
> Steve Webb - Senior System Administrator for gnip.com
> http://twitter.com/GnipWebb
>
> _______________________________________________
> riak-users mailing list
> riak-users at lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>




More information about the riak-users mailing list