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/01/25 15:15:43 UTC

couch-replicator commit: updated refs/heads/master to be0060f

Repository: couchdb-couch-replicator
Updated Branches:
  refs/heads/master b281d2bb3 -> be0060f3f


Fix shards db name typo from previous commit

Previous commit which switched to using mem3 for replicator shard
discovery introduced a typo.

 `config:get("mem3", "shard_db", "dbs")`

should be:

 `config:get("mem3", "shards_db", "_dbs")`

COUCHDB-3277


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/be0060f3
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch-replicator/tree/be0060f3
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-couch-replicator/diff/be0060f3

Branch: refs/heads/master
Commit: be0060f3fffc308b7532e6b99355f0e0cdede88e
Parents: b281d2b
Author: Nick Vatamaniuc <va...@apache.org>
Authored: Tue Jan 24 23:17:26 2017 -0500
Committer: Nick Vatamaniuc <va...@apache.org>
Committed: Tue Jan 24 23:17:26 2017 -0500

----------------------------------------------------------------------
 src/couch_replicator_manager.erl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-couch-replicator/blob/be0060f3/src/couch_replicator_manager.erl
----------------------------------------------------------------------
diff --git a/src/couch_replicator_manager.erl b/src/couch_replicator_manager.erl
index 37d3b3a..bdc3b8f 100644
--- a/src/couch_replicator_manager.erl
+++ b/src/couch_replicator_manager.erl
@@ -932,7 +932,7 @@ strip_credentials({Props}) ->
 
 scan_all_dbs(Server) when is_pid(Server) ->
     {ok, Db} = mem3_util:ensure_exists(
-        config:get("mem3", "shard_db", "dbs")),
+        config:get("mem3", "shards_db", "_dbs")),
     ChangesFun = couch_changes:handle_changes(#changes_args{}, nil, Db, nil),
     ChangesFun(fun({change, {Change}, _}, _) ->
         DbName = couch_util:get_value(<<"id">>, Change),