WARNING: CouchDB 1.0.0 Data Loss bug

Update August 13, 2010. A data recovery tool now available: http://wiki.couchone.com/page/repair-tool

if you are running CouchDB 1.0.0 with the default delayed commit setting, you are subject to serious data loss on restart. See this page for instructions how to force all outstanding commits and configure your server at runtime to run in the safer full commit mode: http://couchdb.apache.org/notice/1.0.1.html

The page also includes details of the bug and a postmortem.

0.11.1 and earlier are unaffected. Servers with delayed commits turned off are unaffected. 1.0.1 will be coming shortly that fixes the problem in all configurations.

DO NOT COMPACT THE DATABASE! Compaction throws away any lost updates permanently.

Data recovery is coming. The CouchDB core contributors are working on a utility to reliably recover lost updates, so no data is lost as long the database file is not compacted.

Posted August 9, 2010 11:55 PM