reconfigure Riak w/o restarting the node?

Sebastian Cohnen sebastian.cohnen at gmail.com
Tue Oct 23 07:56:47 EDT 2012


Hey Nico,

the restart in my case only takes ~5 minutes, which is already not that pleasant. But this would be the main reason, why you want to change config while the system is running...

Thanks for the quick reply!


On 23.10.2012, at 13:49, Nico Meyer <nico.meyer at adition.com> wrote:

> Hi Sebastian,
> 
> the way you proposed just works. I used this myself a lot lately.
> For us the reason why we don't want to restart a node for this, is that it takes about 40 minutes to load all keys into memory.
> 
> Cheers,
> Nico
> 
> Am 23.10.2012 13:44, schrieb Sebastian Cohnen:
>> Hey list,
>> 
>> I'd like to reconfigure the bitcask merge_window. But I'd like to avoid to restart the nodes. I have no particular restriction, why I cannot restart the riak process, but I'd like to know if and how this would work.
>> 
>> Reading some riak/bitcask code I'd say that I just have to attach to riak and issue: application:set_env(bitcask, merge_window, {23, 3}). My question is, is this the way to go? Is it safe to run this and to change this setting while the system is running?
>> 
>> 
>> 
>> Best
>> 
>> Sebastian
>> _______________________________________________
>> riak-users mailing list
>> riak-users at lists.basho.com
>> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
> 
> 
> 
> _______________________________________________
> 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