From user-return-16474-apmail-couchdb-user-archive=couchdb.apache.org@couchdb.apache.org Fri Jun 3 13:22:08 2011 Return-Path: X-Original-To: apmail-couchdb-user-archive@www.apache.org Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5453D6DB4 for ; Fri, 3 Jun 2011 13:22:08 +0000 (UTC) Received: (qmail 21843 invoked by uid 500); 3 Jun 2011 13:22:05 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 21796 invoked by uid 500); 3 Jun 2011 13:22:05 -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 21754 invoked by uid 99); 3 Jun 2011 13:22:05 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Jun 2011 13:22:05 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [128.176.32.232] (HELO imflmail.uni-muenster.de) (128.176.32.232) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Jun 2011 13:21:56 +0000 Received: from localhost (localhost [127.0.0.1]) by imflmail.uni-muenster.de (Postfix) with ESMTP id DA5827BE58 for ; Fri, 3 Jun 2011 15:21:35 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at imfl.de Received: from imflmail.uni-muenster.de ([127.0.0.1]) by localhost (imflmail.uni-muenster.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pHM+G5pljP0h for ; Fri, 3 Jun 2011 15:21:28 +0200 (CEST) Received: from [192.168.11.2] (IMFLRENE.UNI-MUENSTER.DE [128.176.37.209]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by imflmail.uni-muenster.de (Postfix) with ESMTP id 847C17BE52 for ; Fri, 3 Jun 2011 15:21:28 +0200 (CEST) Subject: Data loss in CouchDB 1.0.1 From: =?ISO-8859-1?Q?Ren=E9_Br=FCntrup?= To: user@couchdb.apache.org Content-Type: text/plain; charset="UTF-8" Date: Fri, 03 Jun 2011 15:21:27 +0200 Message-ID: <1307107287.2411.69.camel@imfl-rene> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org Dear CouchDB Community, After restarting our productive Ubuntu 10.10 server running the official Ubuntu CouchDB 1.0.1 package we observed a data loss in our database. Before restarting the server the application using the database worked without any problems. After restarting the server some recent modifications were missing from the system and we started investigating the problems: The last change time of the CouchDB database file dated back about two months. A hex dump of the CouchDB file showed no changes after this point of time. Regular database backups that where created by replicating into another database contained more recent data, just the main database seemed to have stopped recording changes to disc after 2011-08-03. All database files are stored on the same encrypted LVM volume. The problem sounds a lot like writer process bug in 1.0.0: All data seems to be kept in RAM, but never written to disc. However, we verified that Ubuntu uses the patched code and the conditions that could cause the problems in version 1.0.0 do not even occur in our system. So far we were not able to reproduce the behavior. Thank you for reading and we appreciate any help. Kind Regards René Brüntrup