Handoff stalled on 1.0.2 riak cluster

2012-06-03 Thread John Axel Eriksson
Hi. We had an issue where one of the riak servers died (had to be force removed from cluster). After we did that things got really bad and most data was unreachable for hours. I added a new node to replace the old one at one point as well - that never got any data and even now about a day later it

Re: Handoff stalled on 1.0.2 riak cluster

2012-06-04 Thread John Axel Eriksson
either of these work, let us know and we'll take a deeper look. > Specifically: > > a) any log files you could send along would be helpful > b) the output of the following diagnostic: > > f(Members). > Members = riak_core_ring:all_members(element(2, > riak_core_

Re: too_many_results error

2011-03-03 Thread John Axel Eriksson
Well, I'm in this situation atm. I guess I could go and change the max_results setting but really - this actually means that I can't search my data and to me, it's more important to be able to search than to get an error when my index has grown too large. I understand that there's nothing for thi

riaksearch mochijson error (I think)

2011-04-02 Thread John Axel Eriksson
I do know about this bug https://issues.basho.com/show_bug.cgi?id=965 though I wonder if I'm really encountering it. I've got 3 nodes running, one of the nodes always answers fine with json output - the other two always answers with the error below (when encountering certain documents I assume):

Running riak through runit?

2011-05-09 Thread John Axel Eriksson
The startup scripts for riak and riaksearch don't work particularly well with runit (riaksearch console doesn't seem to do it). I suppose this is because of the special way that riak is started. Anyone have a pointer to where I can read about the startup procedure? Or would you recommend against

Streaming video from Luwak to browsers not working so well

2011-09-13 Thread John Axel Eriksson
First a little background: We've been putting videos in luwak without much trouble for quite a while now, small and a little bigger (by bigger I mean around 6 or 7 megs). To stream these so far, we've basically done this: Get the web app to download the video over http from luwak and store on l

Re: Streaming video from Luwak to browsers not working so well

2011-09-13 Thread John Axel Eriksson
gzip > compressor individually, whereas browsers would expect the entire response > to be a single gzip blob (with a single header/checksum). At least, that's > why the gzip thing didn't work. Not sure why Safari broke even when you > turned that off. > > On Tue, Se

Severe problems when adding a new node

2011-10-28 Thread John Axel Eriksson
Last night we did two things. First we upgraded our entire cluster from riak-search 0.14.2 to 1.0.1. This process went pretty well and the cluster was responding correctly after this was completed. In our cluster we have around 40 000 files stored in Luwak (we also have about the same amount of

Re: Severe problems when adding a new node

2011-10-28 Thread John Axel Eriksson
, we apologize for the > inconvenience and irritation this has caused. > > Kelly > > > On Oct 28, 2011, at 9:14 AM, John Axel Eriksson wrote: > >> Last night we did two things. First we upgraded our entire cluster from >> riak-search 0.14.2 to 1.0.1. This proc

Re: Severe problems when adding a new node

2011-11-08 Thread John Axel Eriksson
think it's only the larger files stored in luwak that have this problem. John 29 okt 2011 kl. 01:03 skrev John Axel Eriksson: > I've got the utmost respect for developers such as yourselves(Basho) and > we've had great success using Riak - we have been using it > in p

Re: Severe problems when adding a new node

2011-11-09 Thread John Axel Eriksson
rough all the 40 000 files and trying to determine which ones aren't there anymore or are just garbageā€¦). John 8 nov 2011 kl. 11:35 skrev John Axel Eriksson: > Thanks for the emails detailing this issue - private and to the list. I've > got a question for the list on our situati

Luwak PUT Content-Range

2011-11-29 Thread John Axel Eriksson
Is it possible to incrementally add to a file in Luwak using PUT and the Content-Range header. I just assumed that it was but I can't seem to get the expected results, it just overwrites whatever the key contents were before. The reason I want to do this is because we have some pretty large files I

Re: Luwak PUT Content-Range

2011-11-30 Thread John Axel Eriksson
## the second write here gets an Exception - I think it's a 400 from riak puts "writing..." output_stream.write(buffer,0,bytes_read) sleep 1 end end rescue Exception => e puts "Exception: #{e.message}" end puts c.response_code rescue nil puts c.r

Re: Luwak EOL

2011-12-21 Thread John Axel Eriksson
Wow. Is this for real? I almost can't believe it. This is the feature we use most in Riak, we really depend on it and have quite a lot of data stored. Suddenly Riak became a dead-end for us. We've used Riak for more than a year and have invested quite a lot of time in it. This is indeed very sad ne

Riak on EC2, security etc

2010-08-31 Thread John Axel Eriksson
We're in the process of migrating our webapps to Rails 3 (some from PHP to Rails 3 even). I'm the one responsible for our new Amazon EC2 setup. We've been looking at new ways of storing our data (quite alot of files but also data which was previously in a MySQL DB). So, I've been trying out Mon

Ripple and formbuilding in rails 3

2010-09-01 Thread John Axel Eriksson
I'm not exactly an expert on Rails but I've built a few simpler apps. Now I'm working on an app using Ripple and I'm having a few issues, perhaps I just haven't grasped riak/ripple yet... Anyway... class Client include Ripple::Document timestamps! property :name, String property :ho

Re: Ripple and formbuilding in rails 3

2010-09-01 Thread John Axel Eriksson
n > > > > On Sep 1, 2010, at 2:48 PM, John Axel Eriksson wrote: > >> I'm not exactly an expert on Rails but I've built a few simpler apps. Now >> I'm working on an app using Ripple and I'm having a few issues, perhaps >> I just haven

Filesize in riak

2010-09-02 Thread John Axel Eriksson
I know the recommendation of max 50 megs per file in riak currently... but I tried uploading a file that was around 120 megs and everything went fine. I downloaded it again from riak and did an md5 on the original and the downloaded file and got the same hash... so what does this mean? I just got

Listing keys in a bucket

2010-09-04 Thread John Axel Eriksson
Listing keys in a bucket has been described as "bad" and something you use in development but not in production. I'm just starting out on Riak so I'm a newbie... I'm thinking of building an application using Riak as filestorage and possibly much more than that, but it would at least store lots o

Re: Listing keys in a bucket

2010-09-04 Thread John Axel Eriksson
v Matthew Scott: > > On Sat, Sep 4, 2010 at 11:31, John Axel Eriksson wrote: > Listing keys in a bucket has been described as "bad" and something you use in > development but > not in production. I'm just starting out on Riak so I'm a newbie... > &g

Re: Listing keys in a bucket

2010-09-04 Thread John Axel Eriksson
her styles of > data stores, but is part of the tradeoff involved. > > -- > Matthew Scott > ElevenCraft, Inc. > http://11craft.com/ > +1 360 389-2512 > > > On Sat, Sep 4, 2010 at 11:51, John Axel Eriksson wrote: > Yes, I've thought of this but as I understand

Re: Listing keys in a bucket

2010-09-04 Thread John Axel Eriksson
o.jpg" (file) > > (note I escape the slashes in the key names) > > With proper use of links and tags, this is not a difficult problem. If you > just want to mount Riak like a file system, you might look at Artur Bergman's > riakfuse project. > > Sean Cribbs >

Ripple strange behavior/bug?

2010-09-07 Thread John Axel Eriksson
I've been rewriting a small app of ours to run on Riak instead of MongoDB and I've run into a bug or weird behavior. To show this off I created a very simple little Rails 3 app where this happens. It can be found here: git://github.com/johnae/Riak-Rails-Ripple-Test-to-show-some-weird-behavior.git

Re: Ripple strange behavior/bug?

2010-09-07 Thread John Axel Eriksson
Yeah, well it looks like that. I haven't had any problems with associating an address to a client through rails console for example but then I would do: client = Client.new(:name => 'someclient') client.address = Address.new(:address => 'abcde' ) client.save The problem is in the form building,