/[Apache-SVN]
ViewVC logotype

Revision 1138799


Jump to revision: Previous Next
Author: fdmanana
Date: Thu Jun 23 09:46:46 2011 UTC (12 years, 9 months ago)
Changed paths: 1
Log Message:
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.



Changed paths

Path Details
Directorycouchdb/branches/1.1.x/src/couchdb/couch_ref_counter.erl modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26