Riak ring cached anywhere?

Jordan West jwest at basho.com
Fri Aug 22 23:13:57 EDT 2014


Hi Sebastian,

Is the node still running? If so, not only is the ring cached in memory,
Riak will rewrite it to disk again if its changed. If you attach to the
Riak node in question and run the following from the erlang shell provided
(including the period!) you should find the ringfile written back (you will
need to ensure /var/lib/riak/ring directory exists on the node first):

riak_core_ring_manager:ring_trans(fun(R, _) -> {new_ring, R} end, []).

Cheers,
Jordan


On Fri, Aug 22, 2014 at 1:50 PM, Sebastian Wittenkamp <
swittenkamp at vmware.com> wrote:

>  Hi all, if I nuke /var/lib/riak/* - is there anywhere else on the system
> that contains ring data?
>
> _______________________________________________
> riak-users mailing list
> riak-users at lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20140822/4f186f91/attachment.html>


More information about the riak-users mailing list