Re: [PATCH v3] nmbug: Translate to Python
[notmuch-archives.git] / 5f / b9bd79641c16455b4f4b127932fcdc68ff098e
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 5CD32431E82\r
6         for <notmuch@notmuchmail.org>; Tue,  5 Nov 2013 11:26:42 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -0.799\r
10 X-Spam-Level: \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 8h5XgtpRI0JT for <notmuch@notmuchmail.org>;\r
17         Tue,  5 Nov 2013 11:26:35 -0800 (PST)\r
18 Received: from mail-qc0-f172.google.com (mail-qc0-f172.google.com\r
19         [209.85.216.172]) (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 03FED431FDD\r
22         for <notmuch@notmuchmail.org>; Tue,  5 Nov 2013 11:26:34 -0800 (PST)\r
23 Received: by mail-qc0-f172.google.com with SMTP id c9so5094674qcz.17\r
24         for <notmuch@notmuchmail.org>; Tue, 05 Nov 2013 11:26:33 -0800 (PST)\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=GJfJUTfT35FYyXnvcJU1U7DKhy3AAKsg4DKJrF9z2JA=;\r
29         b=Yx2nHtYFx6GCRUgDHx+mjWzzqvPMstEyYKzaiRUAonbTYnlyTzxF7pq7lt6kh6Wrr5\r
30         YrE/NIMC3BI1ZWOt58LHm7bzMyl0VNGcNiEIShX6y6NrJGzvZvOCgiZmIRAftVDemjtS\r
31         TKT779VWRRN7CvxrYvFNPlwXUL1t6qJvIt454rdP0ZFqWHbwcXZ/KukfDjr4XRoLix+g\r
32         su0ak+JoFaUoPXrnD4+7r9KiJpnNOpEFaamPedBL9a9G5JBSYbt9dq8xhYvxp7KoqKpl\r
33         1DtXmLHx8rdtu+0Tx+NpPVN8dI0Qneh2iwuqaJcikLgFeP2i6sbP2wVByNT46JNUahdV\r
34         jkeQ==\r
35 X-Received: by 10.224.32.66 with SMTP id b2mr32196682qad.80.1383679593416;\r
36         Tue, 05 Nov 2013 11:26:33 -0800 (PST)\r
37 Received: from localhost (physicsnat56.physics.umass.edu. [128.119.50.38])\r
38         by mx.google.com with ESMTPSA id u3sm61638010qej.8.2013.11.05.11.26.32\r
39         for <multiple recipients>\r
40         (version=TLSv1.2 cipher=RC4-SHA bits=128/128);\r
41         Tue, 05 Nov 2013 11:26:32 -0800 (PST)\r
42 From: Ben Gamari <bgamari.foss@gmail.com>\r
43 To: Tomi Ollila <tomi.ollila@iki.fi>, David Bremner <david@tethera.net>,\r
44         Jani Nikula <jani@nikula.org>, notmuch@notmuchmail.org\r
45 Subject: Re: [PATCH v2 00/11] compactor changes v2\r
46 In-Reply-To: <m21u2ubs34.fsf@guru.guru-group.fi>\r
47 References: <cover.1383481295.git.jani@nikula.org>\r
48         <87k3gnqfb4.fsf@zancas.localnet>\r
49         <m21u2ubs34.fsf@guru.guru-group.fi>\r
50 User-Agent: Notmuch/0.16+107~g1ef2773 (http://notmuchmail.org) Emacs/24.3.1\r
51         (x86_64-pc-linux-gnu)\r
52 Date: Tue, 05 Nov 2013 14:26:29 -0500\r
53 Message-ID: <87wqkmhcpm.fsf@gmail.com>\r
54 MIME-Version: 1.0\r
55 Content-Type: multipart/signed; boundary="=-=-=";\r
56         micalg=pgp-sha1; protocol="application/pgp-signature"\r
57 X-BeenThere: notmuch@notmuchmail.org\r
58 X-Mailman-Version: 2.1.13\r
59 Precedence: list\r
60 List-Id: "Use and development of the notmuch mail system."\r
61         <notmuch.notmuchmail.org>\r
62 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
63         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
64 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
65 List-Post: <mailto:notmuch@notmuchmail.org>\r
66 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
67 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
68         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
69 X-List-Received-Date: Tue, 05 Nov 2013 19:26:42 -0000\r
70 \r
71 --=-=-=\r
72 Content-Type: text/plain\r
73 Content-Transfer-Encoding: quoted-printable\r
74 \r
75 Tomi Ollila <tomi.ollila@iki.fi> writes:\r
76 \r
77 > On Tue, Nov 05 2013, David Bremner <david@tethera.net> wrote:\r
78 >\r
79 >> Jani Nikula <jani@nikula.org> writes:\r
80 >>\r
81 >>> Hi all, this is v2 of [1], incorporating compact related patches from\r
82 >>> David, some changes from David's review, some new patches, man page\r
83 >>> update, test update.\r
84 >>>\r
85 >>> Cheers,\r
86 >>> Jani.\r
87 >>\r
88 >> Aside from the one quibble that I already sent seperately, the first 8\r
89 >> patches look OK to me. I have no technical objections to the last 3, but\r
90 >> since the change the UI, I'd like to wait a bit for more input from\r
91 >> other people.\r
92 >\r
93 >\r
94 > The whole series looks OK to me. The only thing I'm, a bit worried about\r
95 > what happens is I Ctrl-C compaction at any state. Is it possible that I\r
96 > end up with corrupted database ? Someone may accidentally execute\r
97 > notmuch compact -- for example by picking the command from history.\r
98 >\r
99 You should in principle never end up in a situation where the original\r
100 database is corrupted. Xapian's Compactor interface reads from the\r
101 existing database and writes out the compacted database to a new\r
102 directory. The notmuch compact command keeps the original database in\r
103 place until the last possible moment.\r
104 \r
105 When the compacted database is completely constructed it, deletes or\r
106 moves the old database out of the way and then moves the new database\r
107 into place. The worst thing that could happen is that you manage to\r
108 interrupt the process between deleting the old database and moving the\r
109 new one into place (a very small window). In this case you'd simply need\r
110 to move the new database into place manually (although you'd need to\r
111 figure out where the compacted database is located).\r
112 =20=20\r
113 Cheers,\r
114 \r
115 =2D Ben\r
116 \r
117 \r
118 --=-=-=\r
119 Content-Type: application/pgp-signature\r
120 \r
121 -----BEGIN PGP SIGNATURE-----\r
122 Version: GnuPG v1.4.14 (GNU/Linux)\r
123 \r
124 iQEcBAEBAgAGBQJSeUZlAAoJEErkyLZmeNiDgewH/07rMTKEyc8J5AYoyRQK8HcU\r
125 94ehZNt+xwKl/N6knhX5UE+KioJdXthCIDdTAiumLafZIwn6bQ6VtQgv+YrCBgVO\r
126 C5Ay8UVTnK8gd6A7tqIAHPJPo8NC8WakccgbuPrTPDak1pPFgkiTfzg8LTmtKl7c\r
127 tUBAcbpS3cBAPdAs/J948xtHpDQqr++tSxgH3cc0WGzlmBJbYszS9rwYWyCo5dX6\r
128 dflXlcBbIDpcl4kn5+yHClc5024c6Riacu9XapXutCrs9j1hARKu+AEycupn4fLr\r
129 qm+WcZ3OQbxI4Bhaomkizmpdj0nlinpfERF0Q/+qkV2l0RJKs+IEJ5xjlDqfSyA=\r
130 =MnQw\r
131 -----END PGP SIGNATURE-----\r
132 --=-=-=--\r