CouchDB
  1. CouchDB
  2. COUCHDB-44

CouchDB should use a VERSION file in the database directory

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: 0.10
    • Component/s: None
    • Labels:
      None

      Description

      Packaging CouchDB for Debian would be a lot easier if CouchDB used a VERSION file (or similar) in the database directory to indicate which database format was in use. With this in place automated installation scripts could warn, error or perform upgrades when a conflicting version was about to be installed.

        Activity

        Hide
        Paul Joseph Davis added a comment -

        Marking this as duplicate and adding a comment to COUCHDB-67. Once we go to directory style databases a VERSION file would be simple if we even decide to got that route. This ticket is quite old so it doesn't take into account the code that's been written to seamlessly updates databse versions via compaction. Also, we can't go with a single VERSION file per node because we can technically have multiple DB file versions per server.

        Show
        Paul Joseph Davis added a comment - Marking this as duplicate and adding a comment to COUCHDB-67 . Once we go to directory style databases a VERSION file would be simple if we even decide to got that route. This ticket is quite old so it doesn't take into account the code that's been written to seamlessly updates databse versions via compaction. Also, we can't go with a single VERSION file per node because we can technically have multiple DB file versions per server.
        Hide
        Noah Slater added a comment -

        Invalid anyway, I fixed this in Debian using versioned root directories.

        Show
        Noah Slater added a comment - Invalid anyway, I fixed this in Debian using versioned root directories.

          People

          • Assignee:
            Paul Joseph Davis
            Reporter:
            Noah Slater
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development