Re: A systematic way of handling Xapian lock errors?
[notmuch-archives.git] / e3 / c1c80dfa4494ec9955ee8caa8c258339a9a21e
1 Return-Path: <dme@dme.org>\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 87BBF431FD0\r
6         for <notmuch@notmuchmail.org>; Fri, 23 Dec 2011 00:10: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.7\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5\r
12         tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
13 Received: from olra.theworths.org ([127.0.0.1])\r
14         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
15         with ESMTP id nSeR11nFE0Wu for <notmuch@notmuchmail.org>;\r
16         Fri, 23 Dec 2011 00:10:42 -0800 (PST)\r
17 Received: from mail-wi0-f181.google.com (mail-wi0-f181.google.com\r
18         [209.85.212.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
19         (No client certificate requested)\r
20         by olra.theworths.org (Postfix) with ESMTPS id 0172D431FB6\r
21         for <notmuch@notmuchmail.org>; Fri, 23 Dec 2011 00:10:41 -0800 (PST)\r
22 Received: by wibhq2 with SMTP id hq2so3698027wib.26\r
23         for <notmuch@notmuchmail.org>; Fri, 23 Dec 2011 00:10:40 -0800 (PST)\r
24 Received: by 10.181.12.43 with SMTP id en11mr30142188wid.6.1324627840826;\r
25         Fri, 23 Dec 2011 00:10:40 -0800 (PST)\r
26 Received: from hotblack-desiato.hh.sledj.net\r
27         (host81-149-164-25.in-addr.btopenworld.com. [81.149.164.25])\r
28         by mx.google.com with ESMTPS id fk3sm12619086wbb.10.2011.12.23.00.10.39\r
29         (version=TLSv1/SSLv3 cipher=OTHER);\r
30         Fri, 23 Dec 2011 00:10:39 -0800 (PST)\r
31 Received: by hotblack-desiato.hh.sledj.net (Postfix, from userid 30000)\r
32         id C2E76A031E; Fri, 23 Dec 2011 08:10:37 +0000 (GMT)\r
33 To: Austin Clements <amdragon@MIT.EDU>, notmuch@notmuchmail.org\r
34 Subject: Re: [PATCH] Properly handle short writes in sigint handlers\r
35 In-Reply-To: <1324584948-8009-1-git-send-email-amdragon@mit.edu>\r
36 References: <20111222201553.GK10376@mit.edu>\r
37         <1324584948-8009-1-git-send-email-amdragon@mit.edu>\r
38 User-Agent: Notmuch/0.10.2+107~ga2d0215 (http://notmuchmail.org)\r
39         Emacs/24.0.92.1 (x86_64-pc-linux-gnu)\r
40 From: David Edmondson <dme@dme.org>\r
41 Date: Fri, 23 Dec 2011 08:10:33 +0000\r
42 Message-ID: <cunhb0rvhc6.fsf@hotblack-desiato.hh.sledj.net>\r
43 MIME-Version: 1.0\r
44 Content-Type: multipart/signed; boundary="=-=-=";\r
45         micalg=pgp-sha1; protocol="application/pgp-signature"\r
46 X-BeenThere: notmuch@notmuchmail.org\r
47 X-Mailman-Version: 2.1.13\r
48 Precedence: list\r
49 List-Id: "Use and development of the notmuch mail system."\r
50         <notmuch.notmuchmail.org>\r
51 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
52         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
53 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
54 List-Post: <mailto:notmuch@notmuchmail.org>\r
55 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
56 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
57         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
58 X-List-Received-Date: Fri, 23 Dec 2011 08:10:42 -0000\r
59 \r
60 --=-=-=\r
61 Content-Type: text/plain\r
62 \r
63 Sorry for being slow.\r
64 \r
65 Can you describe the situation in which you expect a write to stderr to\r
66 be a short write? (Without error.)\r
67 \r
68 In that situation, what guarantee is there that the loop you've written\r
69 will terminate?\r
70 \r
71 We're not talking about safeguarding a users' data here - this is a\r
72 short message to indicate that a tool is terminating due to a signal.\r
73 I'm concerned that the solution is worse than the problem.\r
74 \r
75 --=-=-=\r
76 Content-Type: application/pgp-signature\r
77 \r
78 -----BEGIN PGP SIGNATURE-----\r
79 Version: GnuPG v1.4.11 (GNU/Linux)\r
80 \r
81 iEYEARECAAYFAk70N3kACgkQaezQq/BJZRaDPQCeOti54nz/0w+qeyy56G1vjPE4\r
82 eyAAnA9N5m404/1TXm17Xb1nQH+H/Na0\r
83 =UGTo\r
84 -----END PGP SIGNATURE-----\r
85 --=-=-=--\r