[ 
https://issues.apache.org/jira/browse/LUCENE-8045?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alan Woodward updated LUCENE-8045:
----------------------------------
    Attachment: LUCENE-8045.patch

Turns out that it wasn't difficult to make ParallelLeafReader.getFieldInfos() 
return the right thing, and dv updates do seem to work correctly otherwise.  
Here's a patch fixing things.

> ParallelReader does not propagate doc values generation numbers
> ---------------------------------------------------------------
>
>                 Key: LUCENE-8045
>                 URL: https://issues.apache.org/jira/browse/LUCENE-8045
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Alan Woodward
>            Assignee: Alan Woodward
>         Attachments: LUCENE-8045.patch
>
>
> Exposed by this test failure: 
> https://jenkins.thetaphi.de/job/Lucene-Solr-7.x-Linux/777/testReport/junit/org.apache.lucene.search/TestLRUQueryCache/testDocValuesUpdatesDontBreakCache/
> A reader is randomly wrapped with a ParallelLeafReader, which does not then 
> correctly propagate the dvGen into its own FieldInfo.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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

Reply via email to