lucene-dev mailing list archives

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

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

Robert Muir commented on LUCENE-4276:
-------------------------------------

{quote}
If you are in such a company that forces you to use JDK 1.7.0b147 (also known as 1.7.0GA),
then they also won't allow you to pass -XX:-UseLoopPredicate. So at the end you cannot run
Solr at all, so why not fail early instaed of late when people complain at your Consulting
Company.
{quote}

I don't understand the situation where someone can pass -Dallow.corrupt.indexes=true but not
-XX:-UseLoopPredicate

And thats all i'm saying: there is already a flag for this bug to get past it, its -XX:-UseLoopPredicate.
If you use it, you can use 1.7.0GA and it wont create a corrupt index.

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