CouchDB should migrate automatically between minor/bugfix versions
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
couchdb (Debian) |
Fix Released
|
Unknown
|
|||
couchdb (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: couchdb
The README.Debian file explains why the database directory in /var/lib/couchdb is based on the version number and your databases seemingly disapper between upgrades. The information that file is based on is outdated though since it still labels CouchDB as alpha software which it isn't anymore.
On <http://
I thus recommend to change the database directory name from /var/lib/
tags: | added: patch |
Changed in couchdb (Debian): | |
status: | Unknown → New |
Changed in couchdb (Debian): | |
status: | New → Fix Released |
I digged into the source code and noticed that the on-disk format is versioned. So something like the attached patch which adds versioning based on the disk_version is probably a better solution than using the app version.
OTOH if you're afraid of breaking people's databases with new versions of CouchDB, just dropping the release number and using a MAJOR.MINOR format should do the trick. But I don't think any other database system in debian (at least not MySQL) does something like this.