Repository: couchdb-chttpd Updated Branches: refs/heads/master 2a583cb0d -> 7f785ea57
Add underscore prefix for dbs database name That's how we name system databases and there should be no exceptions. COUCHDB-2619 Project: http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/commit/7fef96e0 Tree: http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/tree/7fef96e0 Diff: http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/diff/7fef96e0 Branch: refs/heads/master Commit: 7fef96e011af4200b2a98db9e40ac23ebe21ac78 Parents: 2a583cb Author: Alexander Shorin <[email protected]> Authored: Thu Feb 26 00:39:45 2015 +0300 Committer: Alexander Shorin <[email protected]> Committed: Thu Feb 26 00:39:45 2015 +0300 ---------------------------------------------------------------------- src/chttpd_misc.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/blob/7fef96e0/src/chttpd_misc.erl ---------------------------------------------------------------------- diff --git a/src/chttpd_misc.erl b/src/chttpd_misc.erl index c87c5bc..5708708 100644 --- a/src/chttpd_misc.erl +++ b/src/chttpd_misc.erl @@ -100,7 +100,7 @@ handle_sleep_req(Req) -> handle_all_dbs_req(#httpd{method='GET'}=Req) -> Args = couch_mrview_http:parse_params(Req, undefined), - ShardDbName = config:get("mem3", "shard_db", "dbs"), + ShardDbName = config:get("mem3", "shard_db", "_dbs"), %% shard_db is not sharded but mem3:shards treats it as an edge case %% so it can be pushed thru fabric {ok, Info} = fabric:get_db_info(ShardDbName),
