On Fri, Jun 08, 2007 at 01:41:34PM +0200, Mattias Bud wrote:
> Benjamin Krause wrote:
> > On 2007-06-08, at 1:29 PM, Mattias Bud wrote:
> > 
> >> If I delete the entire index folder and update again it works fine. it
> >> breaks only if I do Model.rebuild_index.
> > 
> > hey .. sounds like you had another process access/modify the
> > index.. did you try it with the ferret drb server?
> > 
> > Ben
> 
> No - local index.

is this in development mode with 1 mongrel instance? if yes, make sure
your Mongrel doesn't do index updates while you run rebuild_index from
the console. Even better, run these tests without mongrel running, or in
another RAILS_ENV.

With multiple mongrels, use the DRb server.

Jens

 

-- 
Jens Krämer
webit! Gesellschaft für neue Medien mbH
Schnorrstraße 76 | 01069 Dresden
Telefon +49 351 46766-0 | Telefax +49 351 46766-66
[EMAIL PROTECTED] | www.webit.de
 
Amtsgericht Dresden | HRB 15422
GF Sven Haubold, Hagen Malessa
_______________________________________________
Ferret-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk

Reply via email to