Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.2
    • Fix Version/s: None
    • Component/s: Database Core
    • Labels:
    • Skill Level:
      Regular Contributors Level (Easy to Medium)

      Description

      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.)

      https://getsatisfaction.com/iriscouch/topics/my_couchdb_is_broken_after_putting_a_badarg_for_a_configuration_value

      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.

        Issue Links

          Activity

          Jason Smith created issue -
          Adam Kocoloski made changes -
          Field Original Value New Value
          Issue Type Bug [ 1 ] Improvement [ 4 ]
          Alexander Shorin made changes -
          Link This issue is duplicated by COUCHDB-1215 [ COUCHDB-1215 ]

            People

            • Assignee:
              Jason Smith
              Reporter:
              Jason Smith
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:

                Development