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