Re: REST API: Deleting key vs. marking as deleted.

2012-09-12 Thread Vladimir Shapovalov
Thank you guys for the explanations! I use levelDB cause of search and also can't let keys expire due to application logic. Then I'll implement postponed delete or something like this. Cheers Vladimir On Tue, Sep 11, 2012 at 1:55 PM, Kresten Krab Thorup wrote: > Hi Vladimir, > > Yes, deleting a

Re: Node shutdown error

2012-09-12 Thread Jon Meredith
Hi Wolf, It looks like a couple of things are going on. I suspect you're hitting an issue with leveldb that we've identified and corrected where compactions can sometimes build up and block writing. This is enough to cause your handoff timeout issue. If you are affected you'll have entries in t

Re: Node shutdown error

2012-09-12 Thread Dmitry Demeshchuk
Sir, next time please kindly use pastebin or something to paste such long error reports. -- Best regards, Dmitry Demeshchuk ___ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Re: Node shutdown error

2012-09-12 Thread Wolf Iem
Sorry for the long message. I didn't notice that it's huge. I'll pay more attention next time. Best Wolf On 12 Eyl 2012, at 18:24, Dmitry Demeshchuk wrote: > Sir, next time please kindly use pastebin or something to paste such long > error reports. > > -- > Best regards, > Dmitry Demeshchuk

single machine still need cluster? like three node?

2012-09-12 Thread courser
I'm very new to Riak, I'm wonder if I got only one machine, that still need a cluster in it? like three node, W > 2. R>1. -- View this message in context: http://riak-users.197444.n3.nabble.com/single-machine-still-need-cluster-like-three-node-tp4025231.html Sent from the Riak Users mailing l

Re: Postcommit hook and creating a new object

2012-09-12 Thread Daniil Churikov
I think this is not possible at all in general case. Even if you ask and get not_found, this is not guarantee that on put operation object still does not exists. You could resolve this on read or use things such as statebox to resolve this. -- View this message in context: http://riak-users.197

Re: single machine still need cluster? like three node?

2012-09-12 Thread Alexander Sicular
No, you don't. You can operate on one node, lets say for development purposes. @siculars http://siculars.posterous.com Sent from my rotary phone. On Sep 12, 2012 12:44 PM, "courser" wrote: > I'm very new to Riak, I'm wonder if I got only one machine, that still > need a > cluster in it? like th

Re: single machine still need cluster? like three node?

2012-09-12 Thread Vladimir Shapovalov
I'd recommend to set up at least tree nodes even for the test environment. I'm quite sure your n_val has default value=3. That means riak stores three copies of all data on the same node, even if you have only one node running. Th

Re: single machine still need cluster? like three node?

2012-09-12 Thread Alexander Sicular
Just change the default nval to 1 in app.config file. @siculars http://siculars.posterous.com Sent from my iRotaryPhone On Sep 12, 2012, at 17:33, Vladimir Shapovalov wrote: > I'd recommend to set up at least tree nodes even for the test environment. > I'm quite sure your n_val has default v