You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucenenet.apache.org by "Digy (JIRA)" <ji...@apache.org> on 2008/08/01 19:32:31 UTC
[jira] Commented: (LUCENENET-135) Race condition in
DocumentsWriter.UpdateDocument
[ https://issues.apache.org/jira/browse/LUCENENET-135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12619081#action_12619081 ]
Digy commented on LUCENENET-135:
--------------------------------
ThreadClass' static method Current() always returns a new instance of ThreadClass where it should return an instance created only in the current thread.
PS: It is used as a key for Hashtable "threadBindings" in DocumentsWriter.
Patch coming.
DIGY.
> Race condition in DocumentsWriter.UpdateDocument
> ------------------------------------------------
>
> Key: LUCENENET-135
> URL: https://issues.apache.org/jira/browse/LUCENENET-135
> Project: Lucene.Net
> Issue Type: Bug
> Environment: 2.3.1
> Reporter: Digy
> Attachments: DocumentsWriter+SupportClass.rar, DocumentsWriter-Temp.patch, DocumentsWriter.patch, SupportClass.patch
>
>
> There is a race condition in DocumentsWriter.UpdateDocument. Locking the whole method solves the problem but this is not what is intended in java version
> (testcase: Index/TestIndexWriter/TestDocumentsWriterExceptionThreads)
> I am working on it.
> DIGY
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.