Uploaded image for project: 'CouchDB'
  1. CouchDB
  2. COUCHDB-307

windows drive letters in 'database_dir' breaks _all_dbs

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Abandoned
    • None
    • None
    • None
    • None
    • windows trunk - r758137

    • Regular Contributors Level (Easy to Medium)

    Description

      I had configured my default.ini with:

      [couchdb]
      database_dir=C:/erl5.6.5/usr/couch_data
      view_index_dir=C:/erl5.6.5/usr/couch_data

      Couch would start and futon would let me create a DB named 'test'. However, requesting _all_dbs resulted in:

      ["c/test"]

      Note the leading 'c/'. Requesting this database name obviously failed. If I reconfigured couch to remove the 'C:' from those settings, or even changed it to a lowercase 'c:', I got the expected:

      ["test"]

      I'm not sure if this is a real bug or simply a documentation issue? Either way, its worth recording here for now.

      Attachments

        Activity

          People

            Unassigned Unassigned
            mhammond Mark Hammond
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: