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 2011/07/07 09:09:16 UTC

[Lucene.Net] [jira] [Created] (LUCENENET-432) Concurrency issues in SegmentInfo.Files() (LUCENE-2584)

Concurrency issues in SegmentInfo.Files() (LUCENE-2584)
-------------------------------------------------------

                 Key: LUCENENET-432
                 URL: https://issues.apache.org/jira/browse/LUCENENET-432
             Project: Lucene.Net
          Issue Type: Bug
    Affects Versions: Lucene.Net 2.9.4, Lucene.Net 2.9.4g
            Reporter: Digy
         Attachments: SegmentInfo.patch

The multi-threaded call of the files() in SegmentInfo could lead to the ConcurrentModificationException if one thread is not finished additions to the ArrayList (files) yet while the other thread already obtained it as cached.

https://issues.apache.org/jira/browse/LUCENE-2584


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[Lucene.Net] [jira] [Resolved] (LUCENENET-432) Concurrency issues in SegmentInfo.Files() (LUCENE-2584)

Posted by "Digy (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LUCENENET-432?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Digy resolved LUCENENET-432.
----------------------------

       Resolution: Fixed
    Fix Version/s: Lucene.Net 2.9.4
                   Lucene.Net 2.9.2
         Assignee: Digy

Patch committed to trunk & 2.9.4g branch

> Concurrency issues in SegmentInfo.Files() (LUCENE-2584)
> -------------------------------------------------------
>
>                 Key: LUCENENET-432
>                 URL: https://issues.apache.org/jira/browse/LUCENENET-432
>             Project: Lucene.Net
>          Issue Type: Bug
>    Affects Versions: Lucene.Net 2.9.4, Lucene.Net 2.9.4g
>            Reporter: Digy
>            Assignee: Digy
>             Fix For: Lucene.Net 2.9.2, Lucene.Net 2.9.4
>
>         Attachments: SegmentInfo.patch
>
>
> The multi-threaded call of the files() in SegmentInfo could lead to the ConcurrentModificationException if one thread is not finished additions to the ArrayList (files) yet while the other thread already obtained it as cached.
> https://issues.apache.org/jira/browse/LUCENE-2584

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[Lucene.Net] [jira] [Updated] (LUCENENET-432) Concurrency issues in SegmentInfo.Files() (LUCENE-2584)

Posted by "Digy (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LUCENENET-432?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Digy updated LUCENENET-432:
---------------------------

    Attachment: SegmentInfo.patch

All tests pass.

> Concurrency issues in SegmentInfo.Files() (LUCENE-2584)
> -------------------------------------------------------
>
>                 Key: LUCENENET-432
>                 URL: https://issues.apache.org/jira/browse/LUCENENET-432
>             Project: Lucene.Net
>          Issue Type: Bug
>    Affects Versions: Lucene.Net 2.9.4, Lucene.Net 2.9.4g
>            Reporter: Digy
>         Attachments: SegmentInfo.patch
>
>
> The multi-threaded call of the files() in SegmentInfo could lead to the ConcurrentModificationException if one thread is not finished additions to the ArrayList (files) yet while the other thread already obtained it as cached.
> https://issues.apache.org/jira/browse/LUCENE-2584

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira