Compaction throws error and makes web un-reachable and erlang terminates
------------------------------------------------------------------------
Key: COUCHDB-50
URL: https://issues.apache.org/jira/browse/COUCHDB-50
Project: CouchDB
Issue Type: Bug
Components: Database Core
Environment: Linux, trunk revision 652071
Reporter: Jeff Davey
After clicking the "Compact Database" button in the CouchDB _utils/index.html
on a small database (5 documents), I get this:
[debug] [<0.190.0>] Compaction process spawned for db "jeff"
[error] [emulator] Error in process <0.190.0> with exit value:
{{case_clause,{14108,65536}},[{couch_stream,stream_data,6},{couch_stream,copy,4},{couch_stream,copy_to_new_stream,4},{couch_db,'-copy_raw_doc/4-fun-0-',3},{lists,map,2},{couch_db,copy_raw_doc,4},{couch_db,copy_rev_tree,4},{couch_db...
=ERROR REPORT==== 30-Apr-2008::12:51:33 ===
Error in process <0.190.0> with exit value:
{{case_clause,{14108,65536}},[{couch_stream,stream_data,6},{couch_stream,copy,4},{couch_stream,copy_to_new_stream,4},{couch_db,'-copy_raw_doc/4-fun-0-',3},{lists,map,2},{couch_db,copy_raw_doc,4},{couch_db,copy_rev_tree,4},{couch_db...
[error] [<0.45.0>] {error_report,
<0.22.0>,
{<0.45.0>,
supervisor_report,
[{supervisor,{local,couch_server_sup}},
{errorContext,child_terminated},
{reason,
{{case_clause,{14108,65536}},
[{couch_stream,stream_data,6},
{couch_stream,copy,4},
{couch_stream,copy_to_new_stream,4},
{couch_db,'-copy_raw_doc/4-fun-0-',3},
{lists,map,2},
{couch_db,copy_raw_doc,4},
{couch_db,copy_rev_tree,4},
{couch_db,'-copy_docs/3-fun-0-',4}]}},
{offender,
[{pid,<0.150.0>},
{name,"jeff"},
{mfa,
{couch_db,
create,
["jeff","/usr/local/var/lib/couchdb/jeff.couch",[]]}},
{restart_type,transient},
{shutdown,infinity},
{child_type,supervisor}]}]}}
[error] [<0.45.0>] {error_report,
<0.22.0>,
{<0.45.0>,
supervisor_report,
[{supervisor,{local,couch_server_sup}},
{errorContext,start_error},
{reason,file_exists},
{offender,
[{pid,<0.150.0>},
{name,"jeff"},
{mfa,
{couch_db,
create,
["jeff","/usr/local/var/lib/couchdb/jeff.couch",[]]}},
{restart_type,transient},
{shutdown,infinity},
{child_type,supervisor}]}]}}
[error] [<0.45.0>] {error_report,
<0.22.0>,
{<0.45.0>,
supervisor_report,
[{supervisor,{local,couch_server_sup}},
{errorContext,start_error},
{reason,file_exists},
{offender,
[{pid,<0.150.0>},
{name,"jeff"},
{mfa,
{couch_db,
create,
["jeff","/usr/local/var/lib/couchdb/jeff.couch",[]]}},
{restart_type,transient},
{shutdown,infinity},
{child_type,supervisor}]}]}}
[error] [<0.45.0>] {error_report,
<0.22.0>,
{<0.45.0>,
supervisor_report,
[{supervisor,{local,couch_server_sup}},
{errorContext,start_error},
{reason,file_exists},
{offender,
[{pid,<0.150.0>},
{name,"jeff"},
{mfa,
{couch_db,
create,
["jeff","/usr/local/var/lib/couchdb/jeff.couch",[]]}},
{restart_type,transient},
{shutdown,infinity},
{child_type,supervisor}]}]}}
[error] [<0.45.0>] {error_report,
<0.22.0>,
{<0.45.0>,
supervisor_report,
[{supervisor,{local,couch_server_sup}},
{errorContext,start_error},
{reason,file_exists},
{offender,
[{pid,<0.150.0>},
{name,"jeff"},
{mfa,
{couch_db,
create,
["jeff","/usr/local/var/lib/couchdb/jeff.couch",[]]}},
{restart_type,transient},
{shutdown,infinity},
{child_type,supervisor}]}]}}
[error] [<0.45.0>] {error_report,
<0.22.0>,
{<0.45.0>,
supervisor_report,
[{supervisor,{local,couch_server_sup}},
{errorContext,start_error},
{reason,file_exists},
{offender,
[{pid,<0.150.0>},
{name,"jeff"},
{mfa,
{couch_db,
create,
["jeff","/usr/local/var/lib/couchdb/jeff.couch",[]]}},
{restart_type,transient},
{shutdown,infinity},
{child_type,supervisor}]}]}}
{"init terminating in do_boot",shutdown}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.