Dear list,
We have a script that does the following (strictly sequentially)
1) update 300K docs in a db
2) launch compaction of the db
3) poll at a 30 sec frequency http://127.0.0.1:5984/database to know
when compaction completed
Last night we got a timeout error during 3, we think that this might
be because the first polling (GET http://127.0.0.1:5984/database) is
done right after triggering compaction
I thought the dev team might be interested in knowing that this is happening
There's no other activity on the couchdb instance other than what
described in this email.
ERROR unexpectd response checking compaction db: {ok,"500",
[{"Server",
"CouchDB/1.3.0a-74613f5-git (Erlang OTP/R14B04)"},
{"Date",
"Fri, 14 Oct 2011
01:46:37 GMT"},
{"Content-Type",
"text/plain; charset=utf-8"},
{"Content-Length","350"},
{"Cache-Control",
"must-revalidate"}],
<<"{\"error\":\"{timeout,{gen_server,call,[<0.21934.9>,{open_ref_count,<0.4090.13>}]}}\",\"reason\":\"{gen_server,call,\\n
[couch_server,\\n {open,<<\\\"backup\\\">>,\\n
[{user_ctx,\\n {user_ctx,null,\\n
[<<\\\"_admin\\\">>],\\n<<\\\"{couch_httpd_auth,
default_authentication_handler}\\\">>}}]},\\n infinity]}\"}\n">>}
Thanks,
Paolo