Bucket properties "reset" to the default
swarren at myvest.com
Sat May 19 13:45:20 EDT 2012
Ahh, perfect! Now I understand exactly what happened. :)
The one cumbersome/disturbing aspect I'm finding with this so far is that
if I want to have my "sessions" bucket targeted to a specific backend I
believe I have to set that property on each node individually and restart
the node. If I add a new node, I think I have to do this before the node
joins the cluster.
On Sat, May 19, 2012 at 10:38 AM, Sean Cribbs <sean at basho.com> wrote:
> Depending on the platform you installed Riak on, the ring data might live
> in '/var/lib/riak/ring' whereas your Bitcask K/V data will live in
> '/var/lib/riak/bitcask' by default. On non-Linux systems, those directories
> will be different.
> On Sat, May 19, 2012 at 1:32 PM, Steve Warren <swarren at myvest.com> wrote:
>> I see, so I must have cleared the properties out somewhere along the way
>> (although I'm not sure what ring files are, or how I would clear them).
>> Thank you for the feedback, I will keep an eye on this to make sure I
>> understand it completely!
>> On Sat, May 19, 2012 at 10:12 AM, Sean Cribbs <sean at basho.com> wrote:
>>> Any bucket properties you set via the client interfaces are stored in
>>> the ring structure and should persist independent of any data in the
>>> cluster. Be careful that when you are clearing session data that you are
>>> not also clearing the ring files.
>>> On Sat, May 19, 2012 at 10:07 AM, Steve Warren <swarren at myvest.com>wrote:
>>>> I have configured Riak to store sessions in a separate bitcask
>>>> backend which has an expiration set. What I observe though is that when all
>>>> sessions are expired (overnight), the properties I set on the bucket revert
>>>> to the default bucket properties. Is there a way to make these bucket
>>>> properties permanent without making them the default for the entire cluster?
>>>> riak-users mailing list
>>>> riak-users at lists.basho.com
>>> Sean Cribbs <sean at basho.com>
>>> Software Engineer
>>> Basho Technologies, Inc.
> Sean Cribbs <sean at basho.com>
> Software Engineer
> Basho Technologies, Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the riak-users