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

Alan Woodward commented on LUCENE-8045:
---------------------------------------

Thinking about this more, ParallelReader is really set up as an alternative to 
updatedDocValues, so maybe the simplest thing here is to disallow them 
completely?  Check in the constructor if the incoming FieldInfo has a dvGen > 
-1, and throw an exception if so.

> FieldInfos.Builder.add(FieldInfo) does not copy across dvGen
> ------------------------------------------------------------
>
>                 Key: LUCENE-8045
>                 URL: https://issues.apache.org/jira/browse/LUCENE-8045
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Alan Woodward
>            Assignee: Alan Woodward
>
> 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: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to