incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adam Kocoloski <kocol...@apache.org>
Subject Re: Errors when trying to compact
Date Tue, 21 Jan 2014 01:45:18 GMT
Hi Vladimir, compaction is an asynchronous process and so only a small subset of the possible
errors that could occur during a compaction will surface in time to be reported as part of
the response to your POST request.

Adam

On Jan 20, 2014, at 5:05 PM, Vladimir Ralev <vladimir.ralev@gmail.com> wrote:

> Upgraded to latest bigcouch and it solved this problem. Still would
> appreciate if someone can advice if this is a common problem i should watch
> for.
> 
> 
> On Mon, Jan 20, 2014 at 10:16 PM, Vladimir Ralev
> <vladimir.ralev@gmail.com>wrote:
> 
>> Hi,
>> 
>> 
>> So I am trying to compact a bigcouch DB (couch 1.1.1, on r15b) with
>> 
>> 
>> 
>> curl -H "Content-Type: application/json" -X POST http://localhost:5984/my_db/_compact#=>
{"ok":true}
>> 
>> and it does indeed return {"ok", true}
>> 
>> I dont think the compaction worked, the size is unchanged.
>> 
>> however when I look into the logs in fact this error is displayed:
>> 
>> [Mon, 20 Jan 2014 16:13:17 GMT] [error] [emulator] [--------] Error in
>> process <0.3208.218> on node 'bigcouch@bigcouch-server' with exit value:
>> {undef,[{couch_task_status,update,["Copied ~p of ~p changes
>> (~p%)",[0,7386,0]]},{couch_db_updater,'-copy_compact/3-fun-0-',6},{couch_btree,stream_kv_node2,8},{couch_btree,stream_kp_node,8},{couch_btree,fold,4},{couch_db_updater...
>> 
>> 
>> Could it be failing silently and is there some other way to debug it?
>> Those are debug logs BTW, just a single error level line.
>> 


Mime
View raw message