incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kowsik <kow...@gmail.com>
Subject Re: Exception during compaction
Date Wed, 01 Oct 2008 00:52:04 GMT
I should add that for the fun of it I ran a compact during a
write-heavy phase and then stopped the writes. I noticed a message
indicating compaction was suspended (not the exact words) and then it
was successful. Remember reading something about this in the wiki that
compaction could get starved if there too many writes on the db.

This was the only unusual step that I remember. After this happened,
even if there were no more active writes to the db, compaction always
fails with this exception.

Dunno if that helps.

K.

On Tue, Sep 30, 2008 at 9:17 AM, Damien Katz <damien@apache.org> wrote:
> 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}]}]}}
>
>

Mime
View raw message