/[Apache-SVN]
ViewVC logotype

Revision 1104168


Jump to revision: Previous Next
Author: fdmanana
Date: Tue May 17 11:41:12 2011 UTC (12 years, 11 months ago)
Changed paths: 1
Log Message:
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.



Changed paths

Path Details
Directorycouchdb/trunk/src/couchdb/couch_ref_counter.erl modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26