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 9EF00200B5C for ; Thu, 11 Aug 2016 13:28:20 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 9D91D160AB4; Thu, 11 Aug 2016 11:28:20 +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 17B06160A85 for ; Thu, 11 Aug 2016 13:28:19 +0200 (CEST) Received: (qmail 9531 invoked by uid 500); 11 Aug 2016 11:28:19 -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 9515 invoked by uid 99); 11 Aug 2016 11:28:19 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Aug 2016 11:28:19 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id ECE5DE04AF; Thu, 11 Aug 2016 11:28:18 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: rnewson@apache.org To: commits@couchdb.apache.org Date: Thu, 11 Aug 2016 11:28:18 -0000 Message-Id: X-Mailer: ASF-Git Admin Mailer Subject: [1/2] chttpd commit: updated refs/heads/master to 663273b archived-at: Thu, 11 Aug 2016 11:28:20 -0000 Repository: couchdb-chttpd Updated Branches: refs/heads/master 68f8fa50d -> 663273b0e make _view_cleanup endpoint cluster aware Currently _view_cleanup endpoint is not cluster aware, only deletes indexes on the node that gets the request. This will make it cluster aware, deleting unused indexes on all nodes. JIRA: COUCHDB-2779 Project: http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/commit/f0f4c0dd Tree: http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/tree/f0f4c0dd Diff: http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/diff/f0f4c0dd Branch: refs/heads/master Commit: f0f4c0ddecb7b70e509a887900ec94a7f96c1eb9 Parents: 8aa7adf Author: Mayya Sharipova Authored: Wed Aug 19 12:15:23 2015 -0400 Committer: Mayya Sharipova Committed: Wed Aug 19 12:15:23 2015 -0400 ---------------------------------------------------------------------- src/chttpd_db.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/blob/f0f4c0dd/src/chttpd_db.erl ---------------------------------------------------------------------- diff --git a/src/chttpd_db.erl b/src/chttpd_db.erl index a8fdc16..f5a3176 100644 --- a/src/chttpd_db.erl +++ b/src/chttpd_db.erl @@ -230,7 +230,7 @@ handle_compact_req(Req, _) -> couch_httpd:send_error(Req, 403, forbidden, Msg). handle_view_cleanup_req(Req, Db) -> - ok = fabric:cleanup_index_files(Db), + ok = fabric:cleanup_index_files_all_nodes(Db), send_json(Req, 202, {[{ok, true}]}). handle_design_req(#httpd{