Re: NFS, Stale File Handle Problem and my thoughts....

2010-01-20 Thread Michael McCandless
ards > Mirko > > -Ursprüngliche Nachricht- > Von: Michael McCandless [mailto:luc...@mikemccandless.com] > Gesendet: Mittwoch, 20. Januar 2010 17:12 > An: java-user@lucene.apache.org > Betreff: Re: NFS, Stale File Handle Problem and my thoughts > > Yes, normal merging will cause

Re: NFS, Stale File Handle Problem and my thoughts....

2010-01-20 Thread Michael McCandless
achricht- > Von: Michael McCandless [mailto:luc...@mikemccandless.com] > Gesendet: Mittwoch, 20. Januar 2010 16:14 > An: java-user@lucene.apache.org > Betreff: Re: NFS, Stale File Handle Problem and my thoughts > > Right, it's only machine A that needs the deletion policy.  All

Re: NFS, Stale File Handle Problem and my thoughts....

2010-01-20 Thread Michael McCandless
eded files are taken from the >> >> IndexDeletionPolicy, and deleted at 12:30. At this point the files to be >> >> deleted should no longer be required by any IndexReader and can be >> safely >> >> deleted. >> >> >> >> So the IndexDeletionPolicy should be

Re: NFS, Stale File Handle Problem and my thoughts....

2010-01-20 Thread Shai Erera
t; >> Machine B has read only access. > >> > >> Would this be a valid setup? The only limitation is there is only ONE > >> IndexWriter box, and multiple IndexReader boxes. Based on our > requirements, > >> this should fix very well. I really want to avoid s

Re: NFS, Stale File Handle Problem and my thoughts....

2010-01-20 Thread Michael McCandless
this should fix very well. I really want to avoid some kind of index >> replication between the boxes... >> >> Regards >> Mirko >> >> >> >> -Ursprüngliche Nachricht- >> Von: Michael McCandless [mailto:luc...@mikemccandless.com] >> Gese

Re: NFS, Stale File Handle Problem and my thoughts....

2010-01-20 Thread Michael McCandless
-Ursprüngliche Nachricht- > Von: Michael McCandless [mailto:luc...@mikemccandless.com] > Gesendet: Mittwoch, 20. Januar 2010 14:45 > An: java-user@lucene.apache.org > Betreff: Re: NFS, Stale File Handle Problem and my thoughts > > Right, you just need to make a custom Ind

Re: NFS, Stale File Handle Problem and my thoughts....

2010-01-20 Thread Shai Erera
ween the boxes... > > Regards > Mirko > > > > -Ursprüngliche Nachricht----- > Von: Michael McCandless [mailto:luc...@mikemccandless.com] > Gesendet: Mittwoch, 20. Januar 2010 14:45 > An: java-user@lucene.apache.org > Betreff: Re: NFS, Stale File Handle Problem and

Re: NFS, Stale File Handle Problem and my thoughts....

2010-01-20 Thread Michael McCandless
Right, you just need to make a custom IndexDeletionPolicy. NFS makes no effort to protect deletion of still-open files. A simple approach is one that only deletes a commit if it's more than XXX minutes/hours old, such that XXX is set higher than the frequency that IndexReaders are guaranteed to h