You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by va...@apache.org on 2017/03/14 19:26:05 UTC

[10/50] couch-replicator commit: updated refs/heads/63012-scheduler to 27a5eae

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 <va...@apache.org>
Authored: Wed Oct 26 12:04:08 2016 -0400
Committer: Nick Vatamaniuc <va...@apache.org>
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)},