I've seen several reports something like this in 0.8.1. There
definitely looks to be a bug here. Has anyone seen anything like this
in trunk?
kowsik, do you have any reproducible steps to make this happen? If
not, do you know if the database had already been compacted at least
once before this happened and was the database created with the same
version?
-Damien
On Sep 29, 2008, at 11:10 PM, kowsik wrote:
Anyone seen this? Running couchdb 0.8.1 with erlang @R12B-3_2 on
Darwin 10.4.11. Happens when I compact the database. There are no
writers active at this point. Just viewing the existing data.
Thanks,
K.
=ERROR REPORT==== 29-Sep-2008::18:30:06 ===
Error in process <0.82.0> with exit value:
{function_clause,[{couch_db,'-copy_docs/3-fun-0-',
[not_found,<0.58.0>,{stream,<0.84.0>,<0.83.0>},<0.83.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.84.0>,<0.83.0>},<0.83.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,"blah"},
{mfa,
{couch_db,open,
["blah","/usr/local/var/lib/couchdb/blah.couch"]}},
{restart_type,transient},
{shutdown,infinity},
{child_type,supervisor}]}]}}