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/12 14:02:20 UTC

[jira] [Resolved] (COUCHDB-3054) chttpd cache invalidation is slow

     [ https://issues.apache.org/jira/browse/COUCHDB-3054?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Newson resolved COUCHDB-3054.
------------------------------------
    Resolution: Fixed

multiple bugs fixed here. cache invalidation is now prompt even across recreation of the _users database, which massively helps the test suite.

> 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)