/[Apache-SVN]
ViewVC logotype

Revision 1172378


Jump to revision: Previous Next
Author: davisp
Date: Sun Sep 18 21:52:09 2011 UTC (12 years, 7 months ago)
Changed paths: 4
Log Message:
Avoid a race condition for monitored compaction.

It was technically possible for compaction to finish before a monitor
was requested. This fixes that by giving couch_index:compact a third
options parameter that accepts the atom 'monitor' which will then return
{ok, MonRef} instead of a bare ok.



Changed paths

Path Details
Directorycouchdb/trunk/src/couch_index/src/couch_index.erl modified , text changed
Directorycouchdb/trunk/src/couch_index/src/couch_index_compactor.erl modified , text changed
Directorycouchdb/trunk/src/couch_mrview/src/couch_mrview.erl modified , text changed
Directorycouchdb/trunk/src/couchdb/couch_compaction_daemon.erl modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26