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

windows drive letters in 'database_dir' breaks _all_dbs

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:

      windows trunk - r758137

    • Skill Level:
      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.

        Activity

        Hide
        janl Jan Lehnardt added a comment -

        Closing this on the grounds of long inactivity. Please reopen with more information, when available.

        Show
        janl Jan Lehnardt added a comment - Closing this on the grounds of long inactivity. Please reopen with more information, when available.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development