Re: [PATCH 3/5] nmbug-status: Add an nmbug-status(5) man page
[notmuch-archives.git] / 8c / 39d428890449632926b40fd0693484d4ccab33
1 Return-Path: <amdragon@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 C0591431FD0\r
6         for <notmuch@notmuchmail.org>; Mon,  7 Feb 2011 21:31:16 -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.699\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.699 tagged_above=-999 required=5\r
12         tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001,\r
13         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 ygjQEnN7es2U for <notmuch@notmuchmail.org>;\r
17         Mon,  7 Feb 2011 21:31:16 -0800 (PST)\r
18 Received: from mail-qy0-f174.google.com (mail-qy0-f174.google.com\r
19         [209.85.216.174]) (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 DF79C431FB5\r
22         for <notmuch@notmuchmail.org>; Mon,  7 Feb 2011 21:31:15 -0800 (PST)\r
23 Received: by qyj19 with SMTP id 19so122897qyj.5\r
24         for <notmuch@notmuchmail.org>; Mon, 07 Feb 2011 21:31:13 -0800 (PST)\r
25 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;\r
26         h=domainkey-signature:mime-version:sender:date:x-google-sender-auth\r
27         :message-id:subject:from:to:content-type;\r
28         bh=Pmqbv8tfTmLyj467xkFCAe/m40hkCdgp5a2xkN+TZdk=;\r
29         b=uZnN5CwZKkCLxtdosbIsVsf7Lt0G/I1lNWtxKIP0Sy2mwSfLlLInGOYGOjFSGk04T/\r
30         NElrVRdwL+gByVJu/0q11x9Js1UEHwTpbQu4xkGhx5/OyESxYz3xm8/VlxMvN6P5Z/Ue\r
31         RN7o//a39Xkn50fnDO/04h0RNBSak2HTPpqts=\r
32 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;\r
33         h=mime-version:sender:date:x-google-sender-auth:message-id:subject\r
34         :from:to:content-type;\r
35         b=v/YwCFGwBCj2d/RUSI3ehZsXcfUCyWmQ5AtdPQq8MHmNhXpkEhUbDrgP5MwvBEXjUL\r
36         p55lLiakgvJl1SKOd327K920BSJgJvPhyNXvGGHPVi+zepZrTioBDp6w1bf94LtRQLrb\r
37         JIK5OTpteipiwyABrmfBTL1A4VgvZoEqM5Ag4=\r
38 MIME-Version: 1.0\r
39 Received: by 10.229.79.135 with SMTP id p7mr3010293qck.154.1297142392603; Mon,\r
40         07 Feb 2011 21:19:52 -0800 (PST)\r
41 Sender: amdragon@gmail.com\r
42 Received: by 10.229.97.143 with HTTP; Mon, 7 Feb 2011 21:19:52 -0800 (PST)\r
43 Date: Tue, 8 Feb 2011 00:19:52 -0500\r
44 X-Google-Sender-Auth: KcUCzpCyS1FBCdZyQQ7OaTxdXnw\r
45 Message-ID: <AANLkTi=SoeZ=0QnmS5Aej1SrW6mDjeH85DVXqixi7wSk@mail.gmail.com>\r
46 Subject: notmuch new atomicity and eager maildir flag synchronization\r
47 From: Austin Clements <amdragon@mit.edu>\r
48 To: notmuch@notmuchmail.org\r
49 Content-Type: text/plain; charset=ISO-8859-1\r
50 X-BeenThere: notmuch@notmuchmail.org\r
51 X-Mailman-Version: 2.1.13\r
52 Precedence: list\r
53 List-Id: "Use and development of the notmuch mail system."\r
54         <notmuch.notmuchmail.org>\r
55 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
56         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
57 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
58 List-Post: <mailto:notmuch@notmuchmail.org>\r
59 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
60 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
61         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
62 X-List-Received-Date: Tue, 08 Feb 2011 05:31:16 -0000\r
63 \r
64 I've modified notmuch new so it can now be interrupted without risking\r
65 database consistency or losing track of messages (and by "interrupted"\r
66 I mean real interruptions like kill -9 or someone tripping over the\r
67 power cord).  This change also restructures the code a bit to perform\r
68 eager maildir flag synchronization, and, as a result, every message\r
69 add or remove is now an isolated operation that can be performed in\r
70 its own little Xapian transaction, so notmuch new won't loose much\r
71 progress if it does get interrupted in the middle of a big import.\r
72 \r
73 I'm still ruminating over the patches, but if you'd like to try it\r
74 out, it's on the atomic-new-hack branch at\r
75   http://awakening.csail.mit.edu/git/notmuch.git/\r
76 (Be warned, since this is a hack branch, I may rebase it).\r
77 \r
78 On my mailbox, performance is essentially the same as master.  It may\r
79 prove more beneficial on spinning rust because it performed 23% fewer\r
80 I/O operations (7,494,864 versus 12,582,072 reads; 13,550,272 versus\r
81 14,489,744 writes).\r