On Thu, Apr 12, 2007 at 03:10:37PM -0700, Ryan King wrote:
> On 4/12/07, David Balmain <[EMAIL PROTECTED]> wrote:
> > On 4/12/07, Ryan King <[EMAIL PROTECTED]> wrote:
> > > On 4/10/07, Levent Ali <[EMAIL PROTECTED]> wrote:
> > > > I'm experiencing the same thing exactly
> > > >
> > > > On 4/9/07, Mark <[EMAIL PROTECTED]> wrote:
> > > > > Dave,
> > > > >
> > > > > I was running 0.11.3. I upgraded to 0.11.4. After deleting the 
> > > > > "index",
> > > > > my tests automatically rebuilt the index as you would imagine. When
> > > > > running the same tests using the 0.11.4 version, it consistently
> > > > > produces the errors above. By uninstalling 0.11.4 and using 0.11.3,
> > > > > everything works again.
> > > > >
> > > > > Any other suggestions on what the issue might be?
> > >
> > > I'm seeing similar errors now, too, while trying to upgrade and
> > > reindex everything from 0.10.
> >
> > Hey guys,
> >
> > Any chance one of you could distill this problem to a simple script. I
> > don't seem to be able to replicate the problem here on my brother's
> > mac.
> 
> I don't have a script to replicate this, but I've narrowed the problem
> down to an issue with concurrency.
> 
> Currently I'm running AAF's rebuild_index  (against ferret_server) on
> a model and when I try to save an item in that model from another
> process, I get this error.

Yeah, that's a problem. As of now, rebuild_index is not safe for
concurrent operations on the same index. I plan to rework this so
rebuild_index will build the new index in another index directory,
leaving intact the original index dir where normal index operations like
add/update/delete work on. 

However I dont know why the same problem would not show up with earlier
versions of ferret.

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