lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shai Erera (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (LUCENE-4276) refuse to execute on broken corrupting jvms
Date Tue, 31 Jul 2012 14:25:34 GMT

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

Shai Erera edited comment on LUCENE-4276 at 7/31/12 2:24 PM:
-------------------------------------------------------------

Can you add to the message "This JVM is incompatible with Lucene, and may/will lead to index
corruption"? It's more informative.

And, can you please describe here what's leading to the corruption? I.e. if I do:
* new IndexWriter().close()
* new IndexWriter().forceMerge()/maybeMerge().close()
* new IndexWriter().addDocument().commit().close()

Will all of these lead to corruption? Only some of them? What class causes the corruption,
due to the bug?
                
      was (Author: shaie):
    Can you add to the message "This JVM is incompatible with Lucene, and may/will lead to
index corruption"? It's more informative.

And, can you please describe here what's leading to the corruption? I.e. if I do:
* new IndexWriter().close()
* new IndexWriter().forceMerge()/maybeMerge().close()
* new IndexWriter().addDocument().commit().close()
Will all of these lead to corruption? Only some of them? What class causes the corruption,
due to the bug?
                  
> refuse to execute on broken corrupting jvms
> -------------------------------------------
>
>                 Key: LUCENE-4276
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4276
>             Project: Lucene - Core
>          Issue Type: Task
>            Reporter: Robert Muir
>            Priority: Blocker
>             Fix For: 4.0
>
>         Attachments: LUCENE-4276.patch, LUCENE-4276.patch
>
>
> There are some jvms where we know lucene does not work at all and will just produce things
like corrupt indexes.
> We should detect this in a static block of Constants.java and refuse to run at all.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message