couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam Kocoloski (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (COUCHDB-808) Zero byte .compact file prevents compaction
Date Wed, 29 May 2013 20:44:20 GMT

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

Adam Kocoloski resolved COUCHDB-808.
------------------------------------

    Resolution: Fixed
      Assignee: Adam Kocoloski

This was fixed in the course of working on COUCHDB-968:

https://github.com/apache/couchdb/commit/4137a8eb9b2b

I'd like to select 1.2.0 as the fix version but JIRA won't let me.  Github says that's the
first tag including the above commit.
                
> Zero byte .compact file prevents compaction
> -------------------------------------------
>
>                 Key: COUCHDB-808
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-808
>             Project: CouchDB
>          Issue Type: Bug
>          Components: Database Core
>    Affects Versions: 0.11
>            Reporter: Robert Newson
>            Assignee: Adam Kocoloski
>
> Couchdb can make a .compact file when the volume is almost out of disk
> space and then crash before writing the header.
> If you then clean some space and try to compact again, it won't ever work.
> [Wed, 23 Jun 2010 16:11:59 GMT] [error] [emulator] Error in process
> <0.1976.0> with exit value:
> {{badmatch,no_valid_header},[{couch_db_updater,start_copy_compact,1}]}
> The presence of the invalid .compact file prevents it, and needs to be
> manually removed.
> Remedy: delete the .compact file if there is no valid header when _compact is called
for the second time.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message