[Pkg-erlang-devel] Bug#578868: couchdb: database migration should be automatic

Stefan Praszalowicz prasza at gmail.com
Fri Apr 23 09:15:10 UTC 2010


Package: couchdb
Version: 0.11.0-1
Severity: normal
Tags: squeeze

README.Debian says "the database directory is partitioned by the CouchDB
release number of the database format in use" and "Before you upgrade to a
new
version [...]  you should export [...]  and import the data into the new
database after the upgrade".

This is quite awkward: no prior warning when upgrading, and the old binaries
aren't
here anymore after the upgrade is done.

A quick, short-term minimal fix would be warning the user about the need for
data migration, offering to abort the upgrade, and pointing to the dump/load
procedure or tools.  In the long run, the dump/load operations should
probably
be automated by the package.


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.33 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_US.ISO-8859-15, LC_CTYPE=en_US.ISO-8859-15
(charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash

Versions of packages couchdb depends on:
ii  adduser                  3.112           add and remove users and groups
ii  erlang-base [erlang-abi- 1:13.b.4-dfsg-4 Erlang/OTP virtual machine and
bas
ii  erlang-crypto            1:13.b.4-dfsg-4 Erlang/OTP cryprographic
modules
ii  erlang-inets             1:13.b.4-dfsg-4 Erlang/OTP Internet clients and
se
ii  erlang-ssl               1:13.b.4-dfsg-4 Erlang/OTP implementation of
SSL
ii  erlang-tools             1:13.b.4-dfsg-4 Erlang/OTP various tools
ii  erlang-xmerl             1:13.b.4-dfsg-4 Erlang/OTP XML tools
ii  libc6                    2.10.2-6        Embedded GNU C Library: Shared
lib
ii  libcurl3                 7.20.0-3        Multi-protocol file transfer
libra
ii  libicu42                 4.2.1-3         International Components for
Unico
ii  libjs-jquery             1.4.2-2         JavaScript library for dynamic
web
ii  libmozjs2d               1.9.1.8-5       The Mozilla SpiderMonkey
JavaScrip
ii  lsb-base                 3.2-23          Linux Standard Base 3.2 init
scrip
ii  mawk                     1.3.3-15        a pattern scanning and text
proces
ii  procps                   1:3.2.8-8       /proc file system utilities

couchdb recommends no packages.

couchdb suggests no packages.

-- no debconf information
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-erlang-devel/attachments/20100423/9abee06e/attachment.htm>


More information about the Pkg-erlang-devel mailing list