Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 4ADDA200CED for ; Thu, 13 Jul 2017 19:59:38 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 4A00616C874; Thu, 13 Jul 2017 17:59:38 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id B4C5916C86D for ; Thu, 13 Jul 2017 19:59:37 +0200 (CEST) Received: (qmail 19988 invoked by uid 500); 13 Jul 2017 17:59:36 -0000 Mailing-List: contact commits-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list commits@couchdb.apache.org Received: (qmail 19958 invoked by uid 99); 13 Jul 2017 17:59:36 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Jul 2017 17:59:36 +0000 Received: by gitbox.apache.org (ASF Mail Server at gitbox.apache.org, from userid 33) id 8AE9E8755E; Thu, 13 Jul 2017 17:59:32 +0000 (UTC) Date: Thu, 13 Jul 2017 17:59:41 +0000 To: "commits@couchdb.apache.org" Subject: [couchdb] 10/24: FIXUP: Comment on use of no_ddocid MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit From: davisp@apache.org Reply-To: "commits@couchdb.apache.org" In-Reply-To: <149996877195.26296.3009052880166728632@gitbox.apache.org> References: <149996877195.26296.3009052880166728632@gitbox.apache.org> X-Git-Host: gitbox.apache.org X-Git-Repo: couchdb X-Git-Refname: refs/heads/optimize-ddoc-cache X-Git-Reftype: branch X-Git-Rev: f147f8045e9bef6ab78fe6a1a15645a16d9726c3 X-Git-NotificationType: diff X-Git-Multimail-Version: 1.5.dev Auto-Submitted: auto-generated Message-Id: <20170713175933.8AE9E8755E@gitbox.apache.org> archived-at: Thu, 13 Jul 2017 17:59:38 -0000 This is an automated email from the ASF dual-hosted git repository. davisp pushed a commit to branch optimize-ddoc-cache in repository https://gitbox.apache.org/repos/asf/couchdb.git commit f147f8045e9bef6ab78fe6a1a15645a16d9726c3 Author: Paul J. Davis AuthorDate: Thu Jul 6 13:07:55 2017 -0500 FIXUP: Comment on use of no_ddocid --- src/ddoc_cache/src/ddoc_cache_lru.erl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/ddoc_cache/src/ddoc_cache_lru.erl b/src/ddoc_cache/src/ddoc_cache_lru.erl index 5d47639..cbe481e 100644 --- a/src/ddoc_cache/src/ddoc_cache_lru.erl +++ b/src/ddoc_cache/src/ddoc_cache_lru.erl @@ -158,6 +158,10 @@ handle_cast({do_refresh, DbName, DDocIdList}, St) -> #st{ dbs = Dbs } = St, + % We prepend no_ddocid to the DDocIdList below + % so that we refresh all custom and validation + % function entries which load data from all + % design documents. case khash:lookup(Dbs, DbName) of {value, DDocIds} -> lists:foreach(fun(DDocId) -> -- To stop receiving notification emails like this one, please contact "commits@couchdb.apache.org" .