Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 48904 invoked from network); 7 Aug 2010 04:57:43 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 7 Aug 2010 04:57:43 -0000 Received: (qmail 363 invoked by uid 500); 7 Aug 2010 04:57:43 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 323 invoked by uid 500); 7 Aug 2010 04:57:39 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 315 invoked by uid 99); 7 Aug 2010 04:57:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 07 Aug 2010 04:57:37 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 07 Aug 2010 04:57:36 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o774vGQh015767 for ; Sat, 7 Aug 2010 04:57:16 GMT Message-ID: <31006446.210791281157036579.JavaMail.jira@thor> Date: Sat, 7 Aug 2010 00:57:16 -0400 (EDT) From: "Lim Yue Chuan (JIRA)" To: dev@couchdb.apache.org Subject: [jira] Commented: (COUCHDB-844) Documents missing after CouchDB restart In-Reply-To: <22606105.177591281001036447.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/COUCHDB-844?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12896218#action_12896218 ] Lim Yue Chuan commented on COUCHDB-844: --------------------------------------- As requested, I am having the same problem and have forwarded the database in question to J Chris. Do mail me if you need a copy. Disk consistency check : C:\>chkdsk c: The type of the file system is NTFS. ~ snip ~ CHKDSK is verifying files (stage 1 of 3)... 366848 file records processed. File verification completed. 304 large file records processed. 0 bad file records processed. 2 EA records processed. 179 reparse records processed. CHKDSK is verifying indexes (stage 2 of 3)... 454806 index entries processed. Index verification completed. 0 unindexed files scanned. 0 unindexed files recovered. CHKDSK is verifying security descriptors (stage 3 of 3)... 366848 file SDs/SIDs processed. Security descriptor verification completed. 43980 data files processed. CHKDSK is verifying Usn Journal... 36799960 USN bytes processed. Usn Journal verification completed. Windows has checked the file system and found no problems. 209612799 KB total disk space. 101378104 KB in 322461 files. 136072 KB in 43981 indexes. 0 KB in bad sectors. 476195 KB in use by the system. 65536 KB occupied by the log file. 107622428 KB available on disk. 4096 bytes in each allocation unit. 52403199 total allocation units on disk. 26905607 allocation units available on disk. At no point in time is the disk anywhere close to full. Running Windows 7 32-bit, NTFS filesystem, harddisk is ST31000528AS - a Seagate 1TB harddisk. Partitoned into 200GB/731GB (200GB is the system partition, and also where CouchDB is installed). Installation directory is in Program Files. Write caching policy option in Windows is enabled, write-cache buffer flushing is NOT enabled. (These are system defaults, typical of just about every Windows system I have ever encountered, Windows advises that the second option not be turned on unless a UPS is present, I have never made use of the second option). I am using Mark Hammond's installation of CouchDB (not the one off couch.io) Do let me know if you require any further details. > Documents missing after CouchDB restart > --------------------------------------- > > Key: COUCHDB-844 > URL: https://issues.apache.org/jira/browse/COUCHDB-844 > Project: CouchDB > Issue Type: Bug > Components: Database Core > Affects Versions: 1.0 > Environment: Debian Version 5.0.5, Linux *** 2.6.29-xs5.5.0.17 #1 SMP Mon Aug 3 17:37:37 UTC 2009 i686 GNU/Linux, XenServer Guest > Reporter: Sascha Reuter > Priority: Critical > > After a CouchDB restart, recently added/changed documents+designdocuments (min. 2 weeks timeline!) are missing and cant be accessed trough REST Calls / Futon. > All documents that are still available trought REST/Futon only exist in old revisions. > All documents/revisions can be found doing a manual search (less/egrep/...) in the datafile (/var/lib/couchdb/.couch) > Example: > strings dtap.couch | grep -i "226b2e6c-24b7-4336-92c7-257abf923b11" > $226b2e6c-24b7-4336-92c7-257abf923b11h > $226b2e6c-24b7-4336-92c7-257abf923b11l > $226b2e6c-24b7-4336-92c7-257abf923b11l > $226b2e6c-24b7-4336-92c7-257abf923b11l > $226b2e6c-24b7-4336-92c7-257abf923b11l > $226b2e6c-24b7-4336-92c7-257abf923b11l > $226b2e6c-24b7-4336-92c7-257abf923b11l > $226b2e6c-24b7-4336-92c7-257abf923b11l > $226b2e6c-24b7-4336-92c7-257abf923b11l > $226b2e6c-24b7-4336-92c7-257abf923b11h > $226b2e6c-24b7-4336-92c7-257abf923b11h > curl http://localhost:5984/dtap/226b2e6c-24b7-4336-92c7-257abf923b11 > {"error":"not_found","reason":"missing"} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.