WARNING: database upgrade coming

Tomi Ollila tomi.ollila at iki.fi
Mon Mar 17 23:57:50 PDT 2014


On Tue, Mar 18 2014, Rob Browning <rlb at defaultvalue.org> wrote:

> Jani Nikula <jani at nikula.org> writes:
>
>> Something like this? Just insert text that makes sense to the user. ;)
>
> If you decide to go this route, I wonder if it might also be worth
> adding the text about interruption being OK.

In addition it could just start the upgrade, and if the total time of
upgrade is less than 10 seconds it would wait until that time gets
up and then replace the old database with the new one.

But very informative and verbose messages of how safe the interruption
of database is would be in order...

Some ideas to bikeshed with:

"The database upgrade is done in a new database; at the end of the updrade
the current database is replaced with the new one -- Interrupting updrade
(with Ctrl-C) leaves you with the current database."

> -- 
> Rob Browning

Tomi


More information about the notmuch mailing list