couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Shorin (Commented) (JIRA)" <>
Subject [jira] [Commented] (COUCHDB-1446) Config settings input validation
Date Fri, 23 Mar 2012 14:43:27 GMT


Alexander Shorin commented on COUCHDB-1446:

Just to let me not forget about, while there is special ticket about config settings validation...

...trivial case when someone have tried to rename system database (e.g. from _user to _my_users
- why not? is this database systems or not?) makes CouchDB instance fall with same symptoms.
So I suppose config checks should not be only "about value type", but also "about value data"
for some parameters.
> Config settings input validation
> --------------------------------
>                 Key: COUCHDB-1446
>                 URL:
>             Project: CouchDB
>          Issue Type: Bug
>          Components: Database Core
>    Affects Versions: 1.2
>            Reporter: Jason Smith
>            Assignee: Jason Smith
>            Priority: Minor
>              Labels: config
> Today I received a bug report from a user who thought CouchDB might be relaxing and evaluate
an arithmetic expression in the config. (That makes sense, since it seems to evaluate erlang
terms elsewhere.)
> It would be nice for CouchDB to validate config input, particularly when bad values permanently
take it offline. (In this case, it returns 500 for all subsequent requests.)
> IMO, a good bang-for-buck is to have three basic value types:
> 1. String
> 2. Erlang tuple
> 3. Integer
> And each setting knows what type it must be.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message