You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by "Robert Newson (JIRA)" <ji...@apache.org> on 2016/07/11 15:40:10 UTC
[jira] [Commented] (COUCHDB-3054) chttpd cache invalidation is slow
[ https://issues.apache.org/jira/browse/COUCHDB-3054?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15371006#comment-15371006 ]
Robert Newson commented on COUCHDB-3054:
----------------------------------------
my final statement about closing dbs is false as it turns out, obviously it reopens the db in order to keep_sending_changes
> chttpd cache invalidation is slow
> ---------------------------------
>
> Key: COUCHDB-3054
> URL: https://issues.apache.org/jira/browse/COUCHDB-3054
> Project: CouchDB
> Issue Type: Bug
> Reporter: Robert Newson
>
> The chttpd_auth_cache module follows the changes feed of the clustered _users database in order to invalidate the cache whenever a document changes.
> This can take over a minute to occur. It turns out we kill the changes feed process when we receive a heartbeat and restart the feed, leading to a long delay.
> We do want to stop periodically in order to close databases that might have been compacted.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)