You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2015/06/15 15:04:00 UTC
[jira] [Commented] (COUCHDB-2715) Put logic extracting db_name from
shard path into a single place
[ https://issues.apache.org/jira/browse/COUCHDB-2715?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14585887#comment-14585887 ]
ASF GitHub Bot commented on COUCHDB-2715:
-----------------------------------------
GitHub user iilyak opened a pull request:
https://github.com/apache/couchdb-fabric/pull/21
Use couch_db:normalize_dbname
COUCHDB-2715
We would need this PR for COUCHDB-2635
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/iilyak/couchdb-fabric 2715-normalize-dbname
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/couchdb-fabric/pull/21.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #21
----
commit b86eef57e2b3c73e78f661d3138cd4b7a31b2b60
Author: ILYA Khlopotov <ii...@ca.ibm.com>
Date: 2015-06-15T12:54:08Z
Use couch_db:normalize_dbname
COUCHDB-2715
----
> Put logic extracting db_name from shard path into a single place
> ----------------------------------------------------------------
>
> Key: COUCHDB-2715
> URL: https://issues.apache.org/jira/browse/COUCHDB-2715
> Project: CouchDB
> Issue Type: Improvement
> Security Level: public(Regular issues)
> Reporter: ILYA
>
> We do the very same calculation in two different apps (couch and fabric).
> lists:last(binary:split(mem3:dbname(Path), <<"/">>, [global])).
> The scope of this issue is just to move this logic into one single place which would help resolving COUCHDB-2635
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)