Index: NativeFSLockFactory.java =================================================================== --- NativeFSLockFactory.java (revision 1227006) +++ NativeFSLockFactory.java (working copy) @@ -278,10 +278,6 @@ } } } - // LUCENE-2421: we don't care anymore if the file cannot be deleted - // because it's held up by another process (e.g. AntiVirus). NativeFSLock - // does not depend on the existence/absence of the lock file - path.delete(); } else { // if we don't hold the lock, and somebody still called release(), for // example as a result of calling IndexWriter.unlock(), we should attempt