lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (LUCENE-7894) IndexWriter suffers temporary short-term amnesia
Date Sun, 02 Jul 2017 19:34:00 GMT

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

Michael McCandless resolved LUCENE-7894.
----------------------------------------
    Resolution: Fixed

> IndexWriter suffers temporary short-term amnesia
> ------------------------------------------------
>
>                 Key: LUCENE-7894
>                 URL: https://issues.apache.org/jira/browse/LUCENE-7894
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Michael McCandless
>            Assignee: Michael McCandless
>            Priority: Blocker
>             Fix For: master (7.0)
>
>         Attachments: LUCENE-7894.patch
>
>
> Nightly benchmarks had been failing to run for a while due to trunk API changes, but
when I finally fixed those, the indexer fails because {{IW.maxDoc}} disagrees with the number
of documents indexed after all threads are done indexing.
> It's sort of crazy none of our tests caught this!
> I tracked down the bug; it was caused in LUCENE-7868.  The bug is not as bad as it sounds:
documents are not in fact lost, it's just IW's internal accounting for maxDoc that's temporarily
incorrect until you do a refresh or commit or close the index.
> I'm marking as blocker for 7.0.



--
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