diff options
author | Filipe David Borba Manana <fdmanana@apache.org> | 2011-06-23 09:46:46 +0000 |
---|---|---|
committer | Filipe David Borba Manana <fdmanana@apache.org> | 2011-06-23 09:46:46 +0000 |
commit | 71eb2040ff0da968868a3d97a5a1dee4eb4ea651 (patch) | |
tree | d7f7bf6ae84870590b2fbd6785a3f9826fd70de9 /src/couchdb/couch_httpd_external.erl | |
parent | 91e2121c913a54a77482ed3883f7a8d2d00801a4 (diff) |
Merged revision 1104168 from trunk
Add infinity timeout to couch_ref_counter calls
After compacting a very large database, the updater calls the couch_db gen_server with
a db record that contains a new ref counter. The couch_db gen_server calls drop on the
old ref counter and calls add on the new ref counter. However since the system is busy
deleting the old db file or garbage collecting, one of the ref counter calls times out,
causing couch_db's terminate to invoked and terminate calls shutdown on the updater.
However the updater is waiting for the call it made to couch_db to complete, which can't
complete since it's waiting for the updater.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1138799 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/couchdb/couch_httpd_external.erl')
0 files changed, 0 insertions, 0 deletions