couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Anderson (JIRA)" <>
Subject [jira] Commented: (COUCHDB-218) Name view files by function signature for no-downtime deployments
Date Sun, 14 Jun 2009 21:03:07 GMT


Chris Anderson commented on COUCHDB-218:

thinking about this patch, I realize the hard part will be deleting un-needed indexes. basically
we'll need to periodically calculate the hashes of all ddocs in a database, and delete any
index files who's names don't match any of the hashes. this could be triggered on ddoc update

ahh, cache invalidation...

> Name view files by function signature for no-downtime deployments
> -----------------------------------------------------------------
>                 Key: COUCHDB-218
>                 URL:
>             Project: CouchDB
>          Issue Type: Improvement
>          Components: JavaScript View Server
>            Reporter: Robert Newson
>            Assignee: Chris Anderson
>             Fix For: 0.10
> When a view is altered the .view file is deleted and then recreated. Any query (with
update=false) in the interim gets no results even though the results from the old view would
have been adequate.
> Consider switching the replacement view file in after it's been rebuilt like db compaction

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message