/[Apache-SVN]
ViewVC logotype

Revision 1171329


Jump to revision: Previous Next
Author: fdmanana
Date: Thu Sep 15 23:48:23 2011 UTC (12 years, 7 months ago)
Changed paths: 7
Log Message:
Make sure view compaction terminates

If a view group is compacting and the corresponding database
is shutdown by the LRU system, then the view compaction is
aborted because its couch view group process shutdowns.
This could lead to situations where the number of active
databases is much higher than max_dbs_open and making it
impossible to compact view groups.

Issue reported and patch tested by Mike Leddy. Thanks.

COUCHDB-1283

This is a backport of revision 1171328 from branch 1.2.x



Changed paths

Path Details
Directorycouchdb/branches/1.1.x/src/couchdb/couch_httpd_db.erl modified , text changed
Directorycouchdb/branches/1.1.x/src/couchdb/couch_view_compactor.erl modified , text changed
Directorycouchdb/branches/1.1.x/src/couchdb/couch_view_group.erl modified , text changed
Directorycouchdb/branches/1.1.x/src/couchdb/couch_view_updater.erl modified , text changed
Directorycouchdb/branches/1.1.x/test/etap/200-view-group-no-db-leaks.t modified , text changed
Directorycouchdb/branches/1.1.x/test/etap/201-view-group-shutdown.t added
Directorycouchdb/branches/1.1.x/test/etap/Makefile.am modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26