You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by kx...@apache.org on 2015/02/26 21:31:48 UTC
[4/5] couch commit: updated refs/heads/master to 04fb140
Rename "shard_db" option to "shards_db" and "node_db" one to "nodes_db"
COUCHDB-2628
Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch/commit/b24a6327
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch/tree/b24a6327
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-couch/diff/b24a6327
Branch: refs/heads/master
Commit: b24a63279868a23becdef306fc6e2bad4aeb5006
Parents: b6b887d
Author: Alexander Shorin <kx...@apache.org>
Authored: Thu Feb 26 21:53:59 2015 +0300
Committer: Alexander Shorin <kx...@apache.org>
Committed: Thu Feb 26 21:55:43 2015 +0300
----------------------------------------------------------------------
src/couch_server.erl | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/couchdb-couch/blob/b24a6327/src/couch_server.erl
----------------------------------------------------------------------
diff --git a/src/couch_server.erl b/src/couch_server.erl
index 34ca3d6..228edc3 100644
--- a/src/couch_server.erl
+++ b/src/couch_server.erl
@@ -119,8 +119,8 @@ delete(DbName, Options) ->
maybe_add_sys_db_callbacks(DbName, Options) when is_binary(DbName) ->
maybe_add_sys_db_callbacks(?b2l(DbName), Options);
maybe_add_sys_db_callbacks(DbName, Options) ->
- DbsDbName = config:get("mem3", "shard_db", "_dbs"),
- NodesDbName = config:get("mem3", "node_db", "_nodes"),
+ 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">>),
IsUsersDb = DbName ==config:get("couch_httpd_auth", "authentication_db", "_users") orelse