Re: [PATCH v4 08/16] reorganize indexing of multipart/signed and multipart/encrypted
[notmuch-archives.git] / a9 / f3223f91f26db5a9f96b2e02d4ad760b9c1bb6
1 Return-Path: <Sebastian@SSpaeth.de>\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 040C4431FD0\r
6         for <notmuch@notmuchmail.org>; Thu,  8 Sep 2011 06:45:41 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -0.09\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.09 tagged_above=-999 required=5\r
12         tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
13         RCVD_IN_DNSWL_NONE=-0.0001, T_MIME_NO_TEXT=0.01] 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 2Clqa1gCnMvW for <notmuch@notmuchmail.org>;\r
17         Thu,  8 Sep 2011 06:45:40 -0700 (PDT)\r
18 Received: from homiemail-a20.g.dreamhost.com (caiajhbdcbef.dreamhost.com\r
19         [208.97.132.145])\r
20         by olra.theworths.org (Postfix) with ESMTP id 12FD3431FB6\r
21         for <notmuch@notmuchmail.org>; Thu,  8 Sep 2011 06:45:40 -0700 (PDT)\r
22 Received: from homiemail-a20.g.dreamhost.com (localhost [127.0.0.1])\r
23         by homiemail-a20.g.dreamhost.com (Postfix) with ESMTP id 49B097EC07A;\r
24         Thu,  8 Sep 2011 06:45:39 -0700 (PDT)\r
25 DomainKey-Signature: a=rsa-sha1; c=nofws; d=SSpaeth.de; h=from:to:cc:subject\r
26         :in-reply-to:references:date:message-id:mime-version:\r
27         content-type; q=dns; s=sspaeth.de; b=QSgllur7Wo78Ewvk7/cwU5tocIr\r
28         A50lyX37g2nkua+/Efo6iE77DfRi1f7WditaaX6ftlXzrWpqUv/SXMtrshY4OCea\r
29         5K/oC1ZpsKVFP42WbIFaEohxGG4HolAtrYMHDWXfFJbaWXAiA+gTqB2ZfmiWYscl\r
30         vqiLcoPsJhY7oh1M=\r
31 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=SSpaeth.de; h=from:to:cc\r
32         :subject:in-reply-to:references:date:message-id:mime-version:\r
33         content-type; s=sspaeth.de; bh=yrThT9hZ/Inr1KHPrLSKffDHl08=; b=V\r
34         zb5IiAWIlXK9Iur4A/3+2kXMV1QhFAGRBqAv4PzAdyBVCjr0Tte2QhN/wjqpnHVY\r
35         G1ywW7tQNDv/UznK1QhIPnL0furrTGwrbaSY71Bw+L2eCC6XXnHpDHrGNDH7I6mG\r
36         9XD4zGt9rP2JyWThUb+iRUlu0ayqx1DGrPwsRuLV08=\r
37 Received: from spaetzbook.sspaeth.de (mtec-hg-docking-1-dhcp-21.ethz.ch\r
38         [129.132.133.21])\r
39         (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits))\r
40         (No client certificate requested)\r
41         (Authenticated sender: fax@sspaeth.de)\r
42         by homiemail-a20.g.dreamhost.com (Postfix) with ESMTPSA id 76B6F7EC063; \r
43         Thu,  8 Sep 2011 06:45:37 -0700 (PDT)\r
44 Received: by spaetzbook.sspaeth.de (sSMTP sendmail emulation);\r
45         Thu, 08 Sep 2011 15:45:35 +0200\r
46 From: Sebastian Spaeth <Sebastian@SSpaeth.de>\r
47 To: Martin Owens <doctormo@gmail.com>\r
48 Subject: Re: Not much database creation error\r
49 In-Reply-To: <1315373219.32058.157.camel@delen>\r
50 References: <1315110898.32058.13.camel@delen> <87vct7t7m4.fsf@SSpaeth.de>\r
51         <1315373219.32058.157.camel@delen>\r
52 User-Agent: Notmuch/0.7-19-gee4579a (http://notmuchmail.org) Emacs/23.2.1\r
53         (x86_64-pc-linux-gnu)\r
54 Date: Thu, 08 Sep 2011 15:45:35 +0200\r
55 Message-ID: <8739g7gnb4.fsf@SSpaeth.de>\r
56 MIME-Version: 1.0\r
57 Content-Type: multipart/signed; boundary="=-=-=";\r
58         micalg=pgp-sha1; protocol="application/pgp-signature"\r
59 Cc: Notmuch developer list <notmuch@notmuchmail.org>,\r
60         Paul Tagliamonte <tag@pault.ag>\r
61 X-BeenThere: notmuch@notmuchmail.org\r
62 X-Mailman-Version: 2.1.13\r
63 Precedence: list\r
64 List-Id: "Use and development of the notmuch mail system."\r
65         <notmuch.notmuchmail.org>\r
66 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
67         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
68 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
69 List-Post: <mailto:notmuch@notmuchmail.org>\r
70 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
71 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
72         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
73 X-List-Received-Date: Thu, 08 Sep 2011 13:45:41 -0000\r
74 \r
75 --=-=-=\r
76 Content-Transfer-Encoding: quoted-printable\r
77 \r
78 On Wed, 07 Sep 2011 01:26:59 -0400, Martin Owens <doctormo@gmail.com> wrote:\r
79 > As a further question, I have a program opening the database for\r
80 > READ_WRITE access (this process provides a simple write only dbus\r
81 > interface) and I want clients to connect to notmuch over a read only\r
82 > connection.\r
83 >=20\r
84 > A problem I'm having is that when I add messages to the database,\r
85 > searching using the read only interface fails to show anything.\r
86 \r
87 > Is this api topology not expected/recommended/working? Please advise.\r
88 \r
89 hi Martin,\r
90 \r
91 I have to admit, I am not deep into the libnotmuch/xapian internals, so\r
92 I might be the wrong person to ask (I just do some python bindings to\r
93 whatever libnotmuch provides).\r
94 \r
95 However, when a read-write connection changes content, I believe that\r
96 all other existing connections will return an error stating\r
97 DATABASE_MODIFIED. I think we throw (or at least are supposed to throw)\r
98 an exception in this case.\r
99 \r
100 Are you seeing any exceptions or errors been thrown?  Does it not show\r
101 ANYTHING or only not the new messages?\r
102 \r
103 An open database connection provides you only with a snapshot, and you\r
104 need to reopen it after content has been modified.\r
105 \r
106 Sebastian\r
107 \r
108 --=-=-=\r
109 Content-Type: application/pgp-signature\r
110 \r
111 -----BEGIN PGP SIGNATURE-----\r
112 Version: GnuPG v1.4.11 (GNU/Linux)\r
113 \r
114 iEYEARECAAYFAk5oxv8ACgkQVYX1jMgnoGIhVwCgizE8fEdKarKdvUv0Rq3M723x\r
115 J2QAn0xo3928wh9LqbyBkGbhWGnCf7bE\r
116 =9n8d\r
117 -----END PGP SIGNATURE-----\r
118 --=-=-=--\r