couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chewbranca <>
Subject [GitHub] couchdb-couch-mrview pull request: 1993 bigcouch couch mrview
Date Tue, 08 Apr 2014 17:34:40 GMT
Github user chewbranca commented on a diff in the pull request:
    --- Diff: src/couch_mrview.erl ---
    @@ -127,6 +127,10 @@ query_view(Db, {Type, View, Ref}, Args, Callback, Acc) ->
    +get_info(Db, DDocId) when is_binary(DDocId) ->
    +    DbName = mem3:dbname(,
    --- End diff --
    I think we should move `mem3:dbname` into `couch_util`, now that clustering is a core
part of CouchDB. This basically just allows you to get the dbname out of the db record, and
it will strip out the shard info leaving only the name, as `ddoc_cache:open` operates on databases,
not shards.

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

View raw message