You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Randall Leeds (Created) (JIRA)" <ji...@apache.org> on 2011/12/01 07:21:39 UTC

[jira] [Created] (COUCHDB-1352) couch_db does not allow custom system database names

couch_db does not allow custom system database names
----------------------------------------------------

                 Key: COUCHDB-1352
                 URL: https://issues.apache.org/jira/browse/COUCHDB-1352
             Project: CouchDB
          Issue Type: Bug
    Affects Versions: 1.1.1, 1.0.3
            Reporter: Randall Leeds
            Assignee: Randall Leeds


"_replicator" and "_users" are hard coded as acceptable database names. This restriction seems to contradict the presence of config variables that change the replicator and authentication database names. Changing them causes a crash.

Since the couch_db module accepts an options argument which can contain the atom 'sys_db', allow creation of such system databases with custom names.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (COUCHDB-1352) couch_db does not allow custom system database names

Posted by "Randall Leeds (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/COUCHDB-1352?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Randall Leeds updated COUCHDB-1352:
-----------------------------------

    Attachment: 0001-COUCHDB-1352-allow-custom-system-database-names.patch

Patch to allow custom names. Includes etap tests to ensure that user databases may not start with an underscore and that system databases may have any name (though must be more than _just_ an underscore).
                
> couch_db does not allow custom system database names
> ----------------------------------------------------
>
>                 Key: COUCHDB-1352
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-1352
>             Project: CouchDB
>          Issue Type: Bug
>    Affects Versions: 1.0.3, 1.1.1
>            Reporter: Randall Leeds
>            Assignee: Randall Leeds
>         Attachments: 0001-COUCHDB-1352-allow-custom-system-database-names.patch
>
>
> "_replicator" and "_users" are hard coded as acceptable database names. This restriction seems to contradict the presence of config variables that change the replicator and authentication database names. Changing them causes a crash.
> Since the couch_db module accepts an options argument which can contain the atom 'sys_db', allow creation of such system databases with custom names.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira