1 Return-Path: <bgamari.foss@gmail.com>
\r
2 X-Original-To: notmuch@notmuchmail.org
\r
3 Delivered-To: notmuch@notmuchmail.org
\r
4 Received: from localhost (localhost [127.0.0.1])
\r
5 by olra.theworths.org (Postfix) with ESMTP id 0C374431FDA
\r
6 for <notmuch@notmuchmail.org>; Mon, 28 Oct 2013 15:12:46 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5
\r
12 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,
\r
13 FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled
\r
14 Received: from olra.theworths.org ([127.0.0.1])
\r
15 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
16 with ESMTP id Ly+rAKtuAyDi for <notmuch@notmuchmail.org>;
\r
17 Mon, 28 Oct 2013 15:12:36 -0700 (PDT)
\r
18 Received: from mail-qc0-f176.google.com (mail-qc0-f176.google.com
\r
19 [209.85.216.176]) (using TLSv1 with cipher RC4-SHA (128/128 bits))
\r
20 (No client certificate requested)
\r
21 by olra.theworths.org (Postfix) with ESMTPS id AB54E431FAF
\r
22 for <notmuch@notmuchmail.org>; Mon, 28 Oct 2013 15:12:36 -0700 (PDT)
\r
23 Received: by mail-qc0-f176.google.com with SMTP id s19so4270064qcw.35
\r
24 for <notmuch@notmuchmail.org>; Mon, 28 Oct 2013 15:12:36 -0700 (PDT)
\r
25 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
\r
26 h=from:to:subject:in-reply-to:references:user-agent:date:message-id
\r
27 :mime-version:content-type;
\r
28 bh=nc3Kx9foz5cywStn5uTV8fqfCRqaz27tN0CXfZAA98s=;
\r
29 b=prStDkHxkfwYMPIjUyH952SynRV980KAtme7WzwZThHMOJ9KPx5aon+KXJuNcDRrYc
\r
30 0pGiD80bKsPPQgpynCS9AABL6nOm5dm+68bui2oa4ShFcsi9bvaZWSBSKlsHj/nljhrW
\r
31 oZ6Icjb42sgFlt+AP4SrlZkscXABsBqWQ2m4UhCTnPSpDWlOsKn8ViV50m9qNlEtOjiX
\r
32 nu0KyMoufHQtu+YzSx0gdS6ACYS2/BDg/BgphgTv6e3XqGXIBncfKgSc8Z9byoghUE0F
\r
33 6zfbBBDosXD4Ar4N59fNfs4lI/43cfZmSiaMnNATodLi1540tzw921kId+0D+Qd1kWnp
\r
35 X-Received: by 10.49.35.15 with SMTP id d15mr32205872qej.16.1382998355180;
\r
36 Mon, 28 Oct 2013 15:12:35 -0700 (PDT)
\r
37 Received: from localhost (physicsnat56.physics.umass.edu. [128.119.50.38])
\r
38 by mx.google.com with ESMTPSA id v19sm56969959qaw.0.2013.10.28.15.12.34
\r
39 for <multiple recipients>
\r
40 (version=TLSv1.2 cipher=RC4-SHA bits=128/128);
\r
41 Mon, 28 Oct 2013 15:12:34 -0700 (PDT)
\r
42 From: Ben Gamari <bgamari.foss@gmail.com>
\r
43 To: Tomi Ollila <tomi.ollila@iki.fi>, notmuch@notmuchmail.org
\r
44 Subject: Re: [PATCH 3/3] compact: Provide user with more error feedback
\r
45 In-Reply-To: <m2vc0i75cx.fsf@guru.guru-group.fi>
\r
46 References: <1382905807-22220-1-git-send-email-bgamari.foss@gmail.com>
\r
47 <1382905807-22220-3-git-send-email-bgamari.foss@gmail.com>
\r
48 <m2vc0i75cx.fsf@guru.guru-group.fi>
\r
49 User-Agent: Notmuch/0.16+107~g1ef2773 (http://notmuchmail.org) Emacs/24.3.1
\r
50 (x86_64-pc-linux-gnu)
\r
51 Date: Mon, 28 Oct 2013 18:12:33 -0400
\r
52 Message-ID: <87k3gxdoz2.fsf@gmail.com>
\r
54 Content-Type: multipart/signed; boundary="=-=-=";
\r
55 micalg=pgp-sha1; protocol="application/pgp-signature"
\r
56 X-BeenThere: notmuch@notmuchmail.org
\r
57 X-Mailman-Version: 2.1.13
\r
59 List-Id: "Use and development of the notmuch mail system."
\r
60 <notmuch.notmuchmail.org>
\r
61 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
62 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
63 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
64 List-Post: <mailto:notmuch@notmuchmail.org>
\r
65 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
66 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
67 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
68 X-List-Received-Date: Mon, 28 Oct 2013 22:12:46 -0000
\r
71 Content-Type: text/plain
\r
72 Content-Transfer-Encoding: quoted-printable
\r
74 Tomi Ollila <tomi.ollila@iki.fi> writes:
\r
76 > On Sun, Oct 27 2013, Ben Gamari <bgamari.foss@gmail.com> wrote:
\r
78 >> Provide instructions on what to do when we couldn't move the compacted
\r
79 >> database into place.
\r
81 >> Signed-off-by: Ben Gamari <bgamari.foss@gmail.com>
\r
83 >> lib/database.cc | 18 +++++++++++++++++-
\r
84 >> 1 file changed, 17 insertions(+), 1 deletion(-)
\r
86 >> diff --git a/lib/database.cc b/lib/database.cc
\r
87 >> index 57c2292..6f9fed1 100644
\r
88 >> --- a/lib/database.cc
\r
89 >> +++ b/lib/database.cc
\r
90 >> @@ -938,7 +938,23 @@ notmuch_database_compact (const char* path,
\r
93 >> if (rename(compact_xapian_path, xapian_path)) {
\r
94 >> - fprintf (stderr, "Error moving compacted database\n");
\r
95 >> + fprintf (stderr, "Error moving compacted database into place: %s\n", s=
\r
97 >> + fprintf (stderr, "\n");
\r
98 >> + fprintf (stderr, "Encountered error %s while moving the compacted data=
\r
100 >> + strerror(errno));
\r
102 > You probably missed my comments in id:m2d2mz7qv7.fsf@guru.guru-group.fi ?
\r
104 Indeed I did. My apologies. New set coming.
\r
111 Content-Type: application/pgp-signature
\r
113 -----BEGIN PGP SIGNATURE-----
\r
114 Version: GnuPG v1.4.14 (GNU/Linux)
\r
116 iQEcBAEBAgAGBQJSbuFRAAoJEErkyLZmeNiDoU0IAIUNvJRyYafxTBynQWLQ1ZmZ
\r
117 XORG/iFxSe06v2fMvsYQhHUawczBI4qJ5c7IZ44jp9JLSL6oBIITsre8Joyi/+fL
\r
118 JE2px4aVaPnQ95xilEE2BQxnL6K25NuWozmd2Su7XXgcGZTqaCqjQNccT9hgP9bC
\r
119 11/vQ+RVoBg7HBOJrlaRAm5MaC6abQDe5iJ8GUtd4GydqNH7McbIq5xlvlLBUnvL
\r
120 59jNKYtH5WnuZgJ2cQkv5acW6aLJMmMkyfRGAFlWjwvjOaeUC5nGqtJb/aZM2KKb
\r
121 biVoBJim8W+3IxAuT0AmF21ZSFPipiJhN5EX7150q1w0oJO5tic1TnRF1H2lg/U=
\r
123 -----END PGP SIGNATURE-----
\r