couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "eric casteleijn (JIRA)" <j...@apache.org>
Subject [jira] Updated: (COUCHDB-647) Zero size DB files are created, which make CouchDB crash.
Date Tue, 09 Feb 2010 18:35:28 GMT

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

eric casteleijn updated COUCHDB-647:
------------------------------------

    Attachment: couch_file_logging.patch

Written by Chris Anderson, so he should be the one to grant license.

> Zero size DB files are created, which make CouchDB crash.
> ---------------------------------------------------------
>
>                 Key: COUCHDB-647
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-647
>             Project: CouchDB
>          Issue Type: Bug
>    Affects Versions: 0.9.1, 0.10
>         Environment: Ubuntu Hardy
>            Reporter: eric casteleijn
>            Priority: Critical
>         Attachments: couch_file_logging.patch
>
>
> Our production server crashed with the following fragment in the error log http://friendpaste.com/3VfsxGrH2XxvkqE3XQA4oy
> It appears that this is due to a corrupted or zero size database file.
> Chris Anderson suggested the attached patch to improve the logging in this case.
> doppler came up with a script that reproduces the crash:
>  touch /Applications/CouchDBX-0.10.1-R13B03-Leopard.app/Contents/Resources/couchdbx-core/couchdb/var/lib/couchdb/test.couch
>  while true ; do curl -X GET http://localhost:5984/test ; done
> NOTE: On the server that crashed we do not manipulate database files in any other way
than calling the REST interface, so it is still a mystery how zero sized dbs get created.
I will investigate by digging through the logs.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message