lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Miller <markrmil...@gmail.com>
Subject Re: [jira] Resolved: (LUCENE-1044) Behavior on hard power shutdown
Date Sat, 03 Nov 2007 23:50:26 GMT
Is the new autocommit=false code atomic (the new check point is 
successfully made and moved to or its not)? If not I imagine it could be 
made to be without too much work right?

Hoss Man (JIRA) wrote:
>      [ https://issues.apache.org/jira/browse/LUCENE-1044?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
>
> Hoss Man resolved LUCENE-1044.
> ------------------------------
>
>        Resolution: Invalid
>     Fix Version/s:     (was: 1.9)
>
>   
>> Behavior on hard power shutdown
>> -------------------------------
>>
>>                 Key: LUCENE-1044
>>                 URL: https://issues.apache.org/jira/browse/LUCENE-1044
>>             Project: Lucene - Java
>>          Issue Type: Bug
>>          Components: Index
>>         Environment: Windows Server 2003, Standard Edition, Sun Hotspot Java 1.5
>>            Reporter: venkat rangan
>>
>> When indexing a large number of documents, upon a hard power failure  (e.g. pull
the power cord), the index seems to get corrupted. We start a Java application as an Windows
Service, and feed it documents. In some cases (after an index size of 1.7GB, with 30-40 index
segment .cfs files) , the following is observed.
>> The 'segments' file contains only zeros. Its size is 265 bytes - all bytes are zeros.
>> The 'deleted' file also contains only zeros. Its size is 85 bytes - all bytes are
zeros.
>> Before corruption, the segments file and deleted file appear to be correct. After
this corruption, the index is corrupted and lost.
>> This is a problem observed in Lucene 1.4.3. We are not able to upgrade our customer
deployments to 1.9 or later version, but would be happy to back-port a patch, if the patch
is small enough and if this problem is already solved.
>>     
>
>   

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


Mime
View raw message