DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=32171>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=32171





------- Additional Comments From [EMAIL PROTECTED]  2004-12-16 07:09 -------
Created an attachment (id=13764)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=13764&action=view)
a lock implementation using java nio FSLock object

I was able to implement this problem very quickly.

I implemented a Lock object using java.nio.channels.FileLock object (FSLock),
and reimplemented FSDirectory.makeLock by returning the FSLock object. And the
problem disappeared.

Maybe lucene should consider using the new java.nio feature of file locking
instead of the cumbersome lock file.

-John

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to