[ 
https://issues.apache.org/jira/browse/LUCENE-5443?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13900443#comment-13900443
 ] 

ASF subversion and git services commented on LUCENE-5443:
---------------------------------------------------------

Commit 1567960 from [~shaie] in branch 'dev/branches/branch_4x'
[ https://svn.apache.org/r1567960 ]

LUCENE-5443: DocValuesProducer.ramBytesUsed throws 
ConcurrentModificationException

> DocValuesProducer#ramBytesUsed throws ConcurrentModificationException
> ---------------------------------------------------------------------
>
>                 Key: LUCENE-5443
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5443
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: core/codecs
>    Affects Versions: 4.6, 4.6.1, 5.0, 4.7
>            Reporter: Simon Willnauer
>            Assignee: Simon Willnauer
>            Priority: Minor
>             Fix For: 5.0, 4.7
>
>         Attachments: LUCENE-5443.patch
>
>
> this came up in an [elasticsearch 
> issue|https://github.com/elasticsearch/elasticsearch/issues/5104] that if you 
> pull _#ramBytesUsed()_ while docvalues are loaded in a seperate thread you 
> see a _ConcurrentModificationException_ here is an example:
> {noformat}
> Caused by: java.util.ConcurrentModificationException
>         at java.util.HashMap$HashIterator.nextEntry(HashMap.java:926)
>         at java.util.HashMap$ValueIterator.next(HashMap.java:954)
>         at 
> org.apache.lucene.codecs.lucene45.Lucene45DocValuesProducer.ramBytesUsed(Lucene45DocValuesProducer.java:291)
>         at 
> org.apache.lucene.codecs.perfield.PerFieldDocValuesFormat$FieldsReader.ramBytesUsed(PerFieldDocValuesFormat.java:308)
>         at 
> org.apache.lucene.index.SegmentDocValues.ramBytesUsed(SegmentDocValues.java:103)
>         at 
> org.apache.lucene.index.SegmentReader.ramBytesUsed(SegmentReader.java:555)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to