Re: WARNING: database upgrade coming
authorTomi Ollila <tomi.ollila@iki.fi>
Tue, 18 Mar 2014 06:57:50 +0000 (08:57 +0200)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 18:00:49 +0000 (10:00 -0800)
dd/761536d2383314313c3151c6003e092efe53fc [new file with mode: 0644]

diff --git a/dd/761536d2383314313c3151c6003e092efe53fc b/dd/761536d2383314313c3151c6003e092efe53fc
new file mode 100644 (file)
index 0000000..8690d98
--- /dev/null
@@ -0,0 +1,83 @@
+Return-Path: <tomi.ollila@iki.fi>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id 4A0AD431FBF\r
+       for <notmuch@notmuchmail.org>; Mon, 17 Mar 2014 23:58:06 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
+       autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id CzA3Hgv2Rclg for <notmuch@notmuchmail.org>;\r
+       Mon, 17 Mar 2014 23:57:58 -0700 (PDT)\r
+Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34])\r
+       by olra.theworths.org (Postfix) with ESMTP id AB375431FBD\r
+       for <notmuch@notmuchmail.org>; Mon, 17 Mar 2014 23:57:58 -0700 (PDT)\r
+Received: from guru.guru-group.fi (localhost [IPv6:::1])\r
+       by guru.guru-group.fi (Postfix) with ESMTP id 0A1ED10009D;\r
+       Tue, 18 Mar 2014 08:57:51 +0200 (EET)\r
+From: Tomi Ollila <tomi.ollila@iki.fi>\r
+To: Rob Browning <rlb@defaultvalue.org>, Jani Nikula <jani@nikula.org>,\r
+       David Bremner <david@tethera.net>,\r
+       Jameson Graef Rollins <jrollins@finestructure.net>,\r
+       Notmuch list <notmuch@notmuchmail.org>\r
+Subject: Re: WARNING: database upgrade coming\r
+In-Reply-To: <874n2w59c0.fsf@trouble.defaultvalue.org>\r
+References: <874n37a017.fsf@zancas.localnet>\r
+       <87txawkam3.fsf@servo.finestructure.net>\r
+       <87a9cood0l.fsf@nikula.org> <87eh20v7zc.fsf@zancas.localnet>\r
+       <877g7so6kj.fsf@nikula.org>\r
+       <874n2w59c0.fsf@trouble.defaultvalue.org>\r
+User-Agent: Notmuch/0.17+155~g3416ef5 (http://notmuchmail.org) Emacs/24.3.1\r
+       (x86_64-unknown-linux-gnu)\r
+X-Face: HhBM'cA~<r"^Xv\KRN0P{vn'Y"Kd;zg_y3S[4)KSN~s?O\"QPoL\r
+       $[Xv_BD:i/F$WiEWax}R(MPS`^UaptOGD`*/=@\1lKoVa9tnrg0TW?"r7aRtgk[F\r
+       !)g;OY^,BjTbr)Np:%c_o'jj,Z\r
+Date: Tue, 18 Mar 2014 08:57:50 +0200\r
+Message-ID: <m2ha6whu35.fsf@guru.guru-group.fi>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Tue, 18 Mar 2014 06:58:06 -0000\r
+\r
+On Tue, Mar 18 2014, Rob Browning <rlb@defaultvalue.org> wrote:\r
+\r
+> Jani Nikula <jani@nikula.org> writes:\r
+>\r
+>> Something like this? Just insert text that makes sense to the user. ;)\r
+>\r
+> If you decide to go this route, I wonder if it might also be worth\r
+> adding the text about interruption being OK.\r
+\r
+In addition it could just start the upgrade, and if the total time of\r
+upgrade is less than 10 seconds it would wait until that time gets\r
+up and then replace the old database with the new one.\r
+\r
+But very informative and verbose messages of how safe the interruption\r
+of database is would be in order...\r
+\r
+Some ideas to bikeshed with:\r
+\r
+"The database upgrade is done in a new database; at the end of the updrade\r
+the current database is replaced with the new one -- Interrupting updrade\r
+(with Ctrl-C) leaves you with the current database."\r
+\r
+> -- \r
+> Rob Browning\r
+\r
+Tomi\r