summaryrefslogtreecommitdiff
path: root/apps/couch/src/couch_drv.erl
diff options
context:
space:
mode:
authorFilipe David Borba Manana <fdmanana@apache.org>2011-06-23 09:46:46 +0000
committerRobert Newson <robert.newson@cloudant.com>2011-07-05 12:35:22 +0100
commit2e119bc5ddb41f9f95af567ba4c6fd02933766a6 (patch)
tree526f766076f19ec557449e2946a9c2c6d51fd9d4 /apps/couch/src/couch_drv.erl
parente2e9e07398c9697a13f6db36ed9d0403fa6c89f1 (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 'apps/couch/src/couch_drv.erl')
0 files changed, 0 insertions, 0 deletions