couchdb-dev mailing list archives

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

    [ https://issues.apache.org/jira/browse/COUCHDB-218?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12719331#action_12719331
] 

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
asynchronously.

ahh, cache invalidation...

> Name view files by function signature for no-downtime deployments
> -----------------------------------------------------------------
>
>                 Key: COUCHDB-218
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-218
>             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
does.

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


Mime
View raw message