lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Torbjørn Køhler (JIRA) <j...@apache.org>
Subject [jira] Created: (LUCENE-1358) Deadlock for some Query objects in the equals method (f.ex. PhraseQuery) in a concurrent environment
Date Sat, 16 Aug 2008 21:47:44 GMT
Deadlock for some Query objects in the equals method (f.ex. PhraseQuery) in a concurrent environment
----------------------------------------------------------------------------------------------------

                 Key: LUCENE-1358
                 URL: https://issues.apache.org/jira/browse/LUCENE-1358
             Project: Lucene - Java
          Issue Type: Bug
          Components: Other
    Affects Versions: 2.3.2
            Reporter: Torbjørn Køhler
            Priority: Minor
         Attachments: TestDeadLock.java

Some Query objects in lucene 2.3.2 (and previous versions) have internal variables using Vector.
  These variables are used during the call to the equals method.   In a concurrent environment
a deadlock might occur.    The attached code example shows this happening in lucene 2.3.2,
but the patch in LUCENE-1346 fixes this issue (though that doesn't seem to be the intention
of that patch according to the description :-)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


Mime
View raw message