From 1b46ce2315570d05562529ae9900ed85df38b75a Mon Sep 17 00:00:00 2001 From: Tomi Ollila Date: Tue, 18 Mar 2014 08:57:50 +0200 Subject: [PATCH] Re: WARNING: database upgrade coming --- dd/761536d2383314313c3151c6003e092efe53fc | 83 +++++++++++++++++++++++ 1 file changed, 83 insertions(+) create mode 100644 dd/761536d2383314313c3151c6003e092efe53fc diff --git a/dd/761536d2383314313c3151c6003e092efe53fc b/dd/761536d2383314313c3151c6003e092efe53fc new file mode 100644 index 000000000..8690d982f --- /dev/null +++ b/dd/761536d2383314313c3151c6003e092efe53fc @@ -0,0 +1,83 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by olra.theworths.org (Postfix) with ESMTP id 4A0AD431FBF + for ; Mon, 17 Mar 2014 23:58:06 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: 0 +X-Spam-Level: +X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none] + autolearn=disabled +Received: from olra.theworths.org ([127.0.0.1]) + by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id CzA3Hgv2Rclg for ; + Mon, 17 Mar 2014 23:57:58 -0700 (PDT) +Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34]) + by olra.theworths.org (Postfix) with ESMTP id AB375431FBD + for ; Mon, 17 Mar 2014 23:57:58 -0700 (PDT) +Received: from guru.guru-group.fi (localhost [IPv6:::1]) + by guru.guru-group.fi (Postfix) with ESMTP id 0A1ED10009D; + Tue, 18 Mar 2014 08:57:51 +0200 (EET) +From: Tomi Ollila +To: Rob Browning , Jani Nikula , + David Bremner , + Jameson Graef Rollins , + Notmuch list +Subject: Re: WARNING: database upgrade coming +In-Reply-To: <874n2w59c0.fsf@trouble.defaultvalue.org> +References: <874n37a017.fsf@zancas.localnet> + <87txawkam3.fsf@servo.finestructure.net> + <87a9cood0l.fsf@nikula.org> <87eh20v7zc.fsf@zancas.localnet> + <877g7so6kj.fsf@nikula.org> + <874n2w59c0.fsf@trouble.defaultvalue.org> +User-Agent: Notmuch/0.17+155~g3416ef5 (http://notmuchmail.org) Emacs/24.3.1 + (x86_64-unknown-linux-gnu) +X-Face: HhBM'cA~ +MIME-Version: 1.0 +Content-Type: text/plain +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.13 +Precedence: list +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Tue, 18 Mar 2014 06:58:06 -0000 + +On Tue, Mar 18 2014, Rob Browning wrote: + +> Jani Nikula 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 -- 2.26.2