lucene-dev mailing list archives

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


Uwe Schindler updated LUCENE-5612:

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

New server:
- Only one socket per client. The server expects the number of clients as command line parameter.
- Once all clients were connected, its uses a McCandless' starting gun (over network!) to
fire all clients
- All clients hammer against the lock dir (for a fixed number of times) and then close connection
- Server waits for all client threads to die (they die when client closes connection)

Currently this server still binds to localhost only, will cleanup my code and then it should
be possible to bind to a specific IP again.

> LockStressTest fails always with NativeFSLockFactory
> ----------------------------------------------------
>                 Key: LUCENE-5612
>                 URL:
>             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-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$CheckedLock.verify(

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message