incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Anderson" <jch...@grabb.it>
Subject Re: Cleanup of design docs
Date Tue, 08 Jul 2008 14:32:35 GMT
On Tue, Jul 8, 2008 at 7:10 AM, Jan Lehnardt <jan@apache.org> wrote:
> Damien, what's the desired behaviour here? Deleting indexes when
> the associated design document gets deleted or only during
> compaction?

I've been saved a few times by the fact that the indexes don't get
deleted when a design doc is changed or deleted. If I accidentally
overwrite a design doc with changes, but revert it before the next
query, there is no costly view rebuild. So I'd favor something that
happens at compaction time rather than at design doc modification
time.

-- 
Chris Anderson
http://jchris.mfdz.com

Mime
View raw message