Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 68220 invoked from network); 12 May 2009 22:17:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 12 May 2009 22:17:55 -0000 Received: (qmail 14463 invoked by uid 500); 12 May 2009 22:17:54 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 14368 invoked by uid 500); 12 May 2009 22:17:53 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 14358 invoked by uid 99); 12 May 2009 22:17:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 May 2009 22:17:53 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [75.59.196.2] (HELO mailout.abaca.com) (75.59.196.2) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 May 2009 22:17:45 +0000 Received: from v-abaca-epg.lab.abaca.com (localhost.localdomain [127.0.0.1]) by v-abaca-epg.lab.abaca.com (Postfix-out) with ESMTP id D1332585712 for ; Tue, 12 May 2009 15:30:00 -0700 (PDT) X-Propel-Return-Path: Received: from mailout.abaca.com ([172.16.83.19]) by [127.0.0.1] ([127.0.0.1]) (port 7027) (Abaca EPG outproxy filter 3.1.1.9391 $Rev: 9409 $) id 5uNZr95cmu00; Tue, 12 May 2009 15:30:00 -0700 Received: from clx-outmilter.localdomain (unknown [172.16.80.159]) by v-abaca-epg.lab.abaca.com (Postfix-out) with ESMTP id BCCD05856FE for ; Tue, 12 May 2009 15:30:00 -0700 (PDT) Received: from mail.abaca.com (unknown [172.16.83.4]) by clx-outmilter.localdomain (Postfix) with ESMTP id 35F90D803A for ; Tue, 12 May 2009 18:17:21 -0400 (EDT) Received: from [172.16.83.111] (172.16.83.111) by mail.abaca.com (172.16.83.4) with Microsoft SMTP Server id 8.1.358.0; Tue, 12 May 2009 15:17:20 -0700 Message-ID: <25E7BE99-AF26-4260-B434-D1AC747ADEA1@abaca.com> From: Peter Hsu To: "user@couchdb.apache.org" In-Reply-To: <70CE5E98-5863-482E-82FD-3C38CECD70A5@apache.org> Content-Type: text/plain; charset="US-ASCII"; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit MIME-Version: 1.0 (Apple Message framework v930.3) Subject: Re: corrupted database file Date: Tue, 12 May 2009 15:17:14 -0700 References: <70CE5E98-5863-482E-82FD-3C38CECD70A5@apache.org> X-Mailer: Apple Mail (2.930.3) X-Propel-ID: 5uNZr95cmu00 X-Virus-Checked: Checked by ClamAV on apache.org What does "tail-append" headers mean? Is there anything that can be done in the current version to avoid this? (aside from ensuring there is always disk space) Thanks, Peter On May 12, 2009, at 12:23 PM, Damien Katz wrote: > It looks like the database file got truncated. Until we get tail- > append headers, there is no way to recover the file contents when this > happens. > > -Damien > > > On May 12, 2009, at 1:25 PM, Peter Hsu wrote: > >> I get the following error when visiting futon: >> >> Database information could not be retrieved: >> {{{badmatch,eof}, >> [{couch_file,handle_call,3}, >> {gen_server,handle_msg,5}, >> {proc_lib,init_p_do_apply,3}]}, >> {gen_server,call,[<0.82.0>, >> {pread_bin,86816267188},infinity]}} >> >> This is in couch 0.9.0. >> >> The file system had run out of disk space previously. There is >> sufficient disk space now, but the database file seems to be >> corrupted. Is there any utility to try to repair the database? >>