lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uwe Schindler (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (LUCENE-5612) LockStressTest fails always with NativeFSLockFactory
Date Fri, 18 Apr 2014 17:59:15 GMT

     [ https://issues.apache.org/jira/browse/LUCENE-5612?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Uwe Schindler updated LUCENE-5612:
----------------------------------

    Attachment: LUCENE-5612-more-sophisticated-crusher.patch

Crusher with improved server:
- Server binds to ephemeral port
- Once bound, it sets a sysproperty
- The server is running in-process of the ANT task. Because of that, once the sysprop is set,
Ant sees it.
- The ANT macro that starts the client uses a while-loop to wait for the server
- Once the port is there, ant starts the client. Because the server is already running, client
does not need to wait for server, it can connect ASAP.

> LockStressTest fails always with NativeFSLockFactory
> ----------------------------------------------------
>
>                 Key: LUCENE-5612
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5612
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Robert Muir
>            Priority: Blocker
>             Fix For: 4.8
>
>         Attachments: LUCENE-5612-instant-crush.patch, LUCENE-5612-instant-crush.patch,
LUCENE-5612-more-sophisticated-crusher.patch, LUCENE-5612-more-sophisticated-crusher.patch,
LUCENE-5612-more-sophisticated-crusher.patch, LUCENE-5612-more-sophisticated-crusher.patch,
LUCENE-5612-more-sophisticated-crusher.patch, LUCENE-5612-tester.patch, LUCENE-5612-tester.patch,
LUCENE-5612.patch
>
>
> I was looking at this, because i wanted to remove the static map inside NativeFSLockFactory
(no particular reason: it just smells bad, we require java7, and you get overlappingexception
as of java6 so its unnecessary).
> Before changing any code, i wanted to run lockstresstest first, just to ensure it works:
but it fails always. Simple works fine always.
> Exception in thread "main" java.lang.RuntimeException: java.lang.RuntimeException: lock
was double acquired at org.apache.lucene.store.VerifyingLockFactory$CheckedLock.verify(VerifyingLockFactory.java:67)



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message