lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-5981) CheckIndex modifies index without write.lock
Date Wed, 01 Oct 2014 11:12:34 GMT

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

ASF subversion and git services commented on LUCENE-5981:
---------------------------------------------------------

Commit 1628675 from [~rcmuir] in branch 'dev/trunk'
[ https://svn.apache.org/r1628675 ]

LUCENE-5981: fix CheckIndex to obtain write.lock

> CheckIndex modifies index without write.lock
> --------------------------------------------
>
>                 Key: LUCENE-5981
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5981
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Robert Muir
>         Attachments: LUCENE-5981.patch, LUCENE-5981.patch
>
>
> Instead it asks you nicely to "not do that".
> Due to the way this is implemented, if you choose to drop corrupt segments, it should
obtain the lock before actually doing any reads too, or it might lose more than you think
or do other strange stuff.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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


Mime
View raw message