Compaction Fails with Error
---------------------------
Key: COUCHDB-110
URL: https://issues.apache.org/jira/browse/COUCHDB-110
Project: CouchDB
Issue Type: Bug
Components: Database Core
Affects Versions: 0.8.1
Environment: Debian Stable with Erlang 5.6.3
Reporter: Brian L. Troutwine
Recently my CouchDB has started acting a little funny. When I issue a
compaction command like so:
$ curl -X POST http://localhost:5984/valinor/_compact
I receive the following in my logs:
Apache CouchDB 0.8.1-incubating (LogLevel=info)
Apache CouchDB is starting.
Apache CouchDB has started. Time to relax.
[info] [<0.60.0>] Starting compaction for db "valinor"
[info] [<0.56.0>] 127.0.0.1 - - "POST /valinor/_compact" 202
[error] [emulator] Error in process <0.62.0> with exit value:
{function_clause,[{couch_db,'-copy_docs/3-fun-0-',[not_found,<0.58.0>,{stream,<0.64.0>,<0.63.0>},<0.63.0>]},{lists,map,2},{lists,map,2},{couch_db,copy_docs,3},{couch_db,copy_compact_docs,2},{couch_db,start_copy_compact_int,2}]}
=ERROR REPORT==== 1-Sep-2008::12:33:17 ===
Error in process <0.62.0> with exit value:
{function_clause,[{couch_db,'-copy_docs/3-fun-0-',[not_found,<0.58.0>,{stream,<0.64.0>,<0.63.0>},<0.63.0>]},{lists,map,2},{lists,map,2},{couch_db,copy_docs,3},{couch_db,copy_compact_docs,2},{couch_db,start_copy_compact_int,2}]}
[error] [<0.47.0>] {error_report,<0.22.0>,
{<0.47.0>,supervisor_report,
[{supervisor,{local,couch_server_sup}},
{errorContext,child_terminated},
{reason,
{function_clause,
[{couch_db,'-copy_docs/3-fun-0-',
[not_found,<0.58.0>,{stream,<0.64.0>,<0.63.0>},<0.63.0>]},
{lists,map,2},
{lists,map,2},
{couch_db,copy_docs,3},
{couch_db,copy_compact_docs,2},
{couch_db,start_copy_compact_int,2}]}},
{offender,
[{pid,<0.59.0>},
{name,"valinor"},
{mfa,
{couch_db,open,
["valinor","/usr/local/var/lib/couchdb/valinor.couch"]}},
{restart_type,transient},
{shutdown,infinity},
{child_type,supervisor}]}]}}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.