WARNING: database upgrade coming

Jani Nikula jani at nikula.org
Mon Mar 17 12:12:26 PDT 2014


Hi Jamie -

On Mon, 17 Mar 2014, Jameson Graef Rollins <jrollins at finestructure.net> wrote:
> Hey, David et. al.  I recently did an upgrade to notmuch/master after
> being out of the loop for a while and not noticing that a database
> upgrade was pending.  The next notmuch new informed me that a database
> upgrade was required, but it went ahead and did the upgrade unprompted.
> Things went fine, but it did worry me a bit that I didn't know an
> upgrade was pending and didn't have a chance to do a backup before it
> happened.

FWIW it should always be safe to interrupt the upgrade; I know we don't
inform the user about this.

> It would be nice if notmuch new would prompt users when an database
> upgrade is pending, to give the user an option to abort before
> proceeding so that they can do a backup if they'd like.

Please see id:87lhy4f6pr.fsf at nikula.org for a summary on some of the
pros and cons that have been discussed about prompting the user.


BR,
Jani.


More information about the notmuch mailing list