|
[
Permlink
| « Hide
]
Marvin Humphrey added a comment - 20/Oct/06 11:51 PM
It seems that NFS doesn't support delete-upon-last-close semantics. That means that an IndexWriter can delete files out from underneath a cached IndexReader, and they're really gone, no? Stale NFS Filehandle exception.
Yes, you are absolutely correct.
The current implementation of Lucene's "point in time" searching But, these semantics differ drastically across filesystems:
This means, at best for NFS (with "lock-less commits" fixes – still I think, in the future, it would make sense to change how Lucene Note that such an explicit implementation would also resolve a The "lock-less commits" changes would make this quite straightforward This is more of an aside than anything else, but V2-3 clients do have some support for delete after close, right? The whole .nfsXXXX thing? Server doesn't really need any support, though I think some versions "include" cron cleanup of old .nfsXXXX files that never got deleted.
> but V2-3 clients do have some support for delete after close, right? The whole .nfsXXXX thing?
I don't think that works across boxes though. Yeah, I think you're right. I figured I was missing something.
Michael McCandless made changes - 28/Nov/06 10:29 PM
This issue is now resolved by both
As far as I know there are no other outstanding issues preventing Lucene from working over NFS. Here's an excerpt from email I just sent to java-user: As far as I know, Lucene should now work over NFS, except you will Lucene had issues with NFS in three areas: locking, stale client-side For a custom deletion policy you need to implement the The basic idea is to implement logic that can tell when your readers But please note that while I believe NFS should work fine, this has
Michael McCandless made changes - 22/Jun/07 08:40 PM
This is not quite resolved yet. In the case where you have multiple
machines that can be writers, and the writer is able to quickly jump back and forth between them, there is at least one issue ( that prevents this from working.
Michael McCandless made changes - 04/Jul/07 08:12 PM
More updates on the status of Lucene over NFS (see details in
Michael McCandless made changes - 11/Dec/07 09:07 PM
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||