lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alan Woodward (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (LUCENE-8045) ParallelReader does not propagate doc values generation numbers
Date Thu, 09 Nov 2017 11:18:00 GMT

     [ 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message