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 66FB4200C3D for ; Tue, 14 Mar 2017 20:25:59 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 65BC4160B94; Tue, 14 Mar 2017 19:25:59 +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 72BCC160B95 for ; Tue, 14 Mar 2017 20:25:58 +0100 (CET) Received: (qmail 48659 invoked by uid 500); 14 Mar 2017 19:25:57 -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 48125 invoked by uid 99); 14 Mar 2017 19:25:56 -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; Tue, 14 Mar 2017 19:25:56 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 37679DFE1E; Tue, 14 Mar 2017 19:25:56 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: vatamane@apache.org To: commits@couchdb.apache.org Date: Tue, 14 Mar 2017 19:26:05 -0000 Message-Id: <8006bc4044a5427fa03d9e37f59908aa@git.apache.org> In-Reply-To: <5a40ed67f6bf401bbfa1d0ee49ec37be@git.apache.org> References: <5a40ed67f6bf401bbfa1d0ee49ec37be@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [10/50] couch-replicator commit: updated refs/heads/63012-scheduler to 27a5eae archived-at: Tue, 14 Mar 2017 19:25:59 -0000 Fix _scheduler/docs filtering by database name. mem3:dbname() transformation needs to be done in showroom endpoint, doing it too early prevents filtering by user in showroom and so docs ends up "missing" in the query output. Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch-replicator/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch-replicator/commit/bcebf2c7 Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch-replicator/tree/bcebf2c7 Diff: http://git-wip-us.apache.org/repos/asf/couchdb-couch-replicator/diff/bcebf2c7 Branch: refs/heads/63012-scheduler Commit: bcebf2c7f63acd6864a3b1bde2bd6577f4e0acad Parents: 1aa3c3d Author: Nick Vatamaniuc Authored: Wed Oct 26 12:04:08 2016 -0400 Committer: Nick Vatamaniuc Committed: Wed Oct 26 12:04:08 2016 -0400 ---------------------------------------------------------------------- src/couch_replicator_doc_processor.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb-couch-replicator/blob/bcebf2c7/src/couch_replicator_doc_processor.erl ---------------------------------------------------------------------- diff --git a/src/couch_replicator_doc_processor.erl b/src/couch_replicator_doc_processor.erl index 0349fa6..eadea5d 100644 --- a/src/couch_replicator_doc_processor.erl +++ b/src/couch_replicator_doc_processor.erl @@ -437,7 +437,7 @@ ejson_doc(#rdoc{state = RepState} = RDoc, _HealthThreshold) -> } = RDoc, {[ {doc_id, DocId}, - {database, mem3:dbname(DbName)}, + {database, DbName}, {id, ejson_rep_id(RepId)}, {state, RepState}, {info, ejson_state_info(StateInfo)},