[
https://issues.apache.org/jira/browse/LUCENE-5626?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13978151#comment-13978151
]
ASF subversion and git services commented on LUCENE-5626:
---------------------------------------------------------
Commit 1589394 from [~thetaphi] in branch 'dev/trunk'
[ https://svn.apache.org/r1589394 ]
LUCENE-5626: Fix bug in SimpleFSLockFactory's obtain() that sometimes throwed
IOException (ERROR_ACESS_DENIED) on Windows if the lock file was created
concurrently
> SimpleFSLockFactory "access denied" on windows.
> -----------------------------------------------
>
> Key: LUCENE-5626
> URL: https://issues.apache.org/jira/browse/LUCENE-5626
> Project: Lucene - Core
> Issue Type: Bug
> Components: core/store
> Reporter: Robert Muir
> Assignee: Uwe Schindler
> Fix For: 4.9, 5.0
>
> Attachments: LUCENE-5626.patch, LUCENE-5626.patch
>
>
> This happened twice in jenkins:
> {noformat}
> [lockStressTest2] Exception in thread "main" java.io.IOException:
> Access is denied
> [lockStressTest2] at
> java.io.WinNTFileSystem.createFileExclusively(Native Method)
> [lockStressTest2] at java.io.File.createNewFile(File.java:1012)
> [lockStressTest2] at
> org.apache.lucene.store.SimpleFSLock.obtain(SimpleFSLockFactory.java:135)
> {noformat}
> My windows machine got struck by lightning, so I cannot fix this easily.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]