couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From iil...@apache.org
Subject [1/2] couch commit: updated refs/heads/master to f2457f3
Date Wed, 02 Mar 2016 20:36:59 GMT
Repository: couchdb-couch
Updated Branches:
  refs/heads/master f7348cbd9 -> f2457f350


Remove configurable replicator db name

JIRA: COUCHDB-2954


Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch/commit/9aa8c65e
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch/tree/9aa8c65e
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-couch/diff/9aa8c65e

Branch: refs/heads/master
Commit: 9aa8c65e8413eb7065d5ed2b7e32130ca03681b9
Parents: f7348cb
Author: Nick Vatamaniuc <vatamane@gmail.com>
Authored: Fri Feb 26 16:12:55 2016 -0500
Committer: Nick Vatamaniuc <vatamane@gmail.com>
Committed: Wed Mar 2 14:16:40 2016 -0500

----------------------------------------------------------------------
 src/couch_server.erl | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-couch/blob/9aa8c65e/src/couch_server.erl
----------------------------------------------------------------------
diff --git a/src/couch_server.erl b/src/couch_server.erl
index bb93dfe..058ce22 100644
--- a/src/couch_server.erl
+++ b/src/couch_server.erl
@@ -119,8 +119,7 @@ maybe_add_sys_db_callbacks(DbName, Options) when is_binary(DbName) ->
 maybe_add_sys_db_callbacks(DbName, Options) ->
     DbsDbName = config:get("mem3", "shards_db", "_dbs"),
     NodesDbName = config:get("mem3", "nodes_db", "_nodes"),
-    IsReplicatorDb = DbName == config:get("replicator", "db", "_replicator") orelse
-	path_ends_with(DbName, <<"_replicator">>),
+    IsReplicatorDb = path_ends_with(DbName, <<"_replicator">>),
     IsUsersDb = DbName ==config:get("couch_httpd_auth", "authentication_db", "_users") orelse
 	path_ends_with(DbName, <<"_users">>),
     if


Mime
View raw message