Re: WARNING: database upgrade coming

Subject: Re: WARNING: database upgrade coming

Date: Tue, 18 Mar 2014 08:57:50 +0200

To: Rob Browning, Jani Nikula, David Bremner, Jameson Graef Rollins, Notmuch list

Cc:

From: Tomi Ollila


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

> Jani Nikula <jani@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

Thread: