Re: Not much database creation error
authorSebastian Spaeth <Sebastian@SSpaeth.de>
Thu, 8 Sep 2011 13:45:35 +0000 (15:45 +0200)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:39:24 +0000 (09:39 -0800)
a9/f3223f91f26db5a9f96b2e02d4ad760b9c1bb6 [new file with mode: 0644]

diff --git a/a9/f3223f91f26db5a9f96b2e02d4ad760b9c1bb6 b/a9/f3223f91f26db5a9f96b2e02d4ad760b9c1bb6
new file mode 100644 (file)
index 0000000..775a7ff
--- /dev/null
@@ -0,0 +1,118 @@
+Return-Path: <Sebastian@SSpaeth.de>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id 040C4431FD0\r
+       for <notmuch@notmuchmail.org>; Thu,  8 Sep 2011 06:45:41 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.09\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.09 tagged_above=-999 required=5\r
+       tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
+       RCVD_IN_DNSWL_NONE=-0.0001, T_MIME_NO_TEXT=0.01] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id 2Clqa1gCnMvW for <notmuch@notmuchmail.org>;\r
+       Thu,  8 Sep 2011 06:45:40 -0700 (PDT)\r
+Received: from homiemail-a20.g.dreamhost.com (caiajhbdcbef.dreamhost.com\r
+       [208.97.132.145])\r
+       by olra.theworths.org (Postfix) with ESMTP id 12FD3431FB6\r
+       for <notmuch@notmuchmail.org>; Thu,  8 Sep 2011 06:45:40 -0700 (PDT)\r
+Received: from homiemail-a20.g.dreamhost.com (localhost [127.0.0.1])\r
+       by homiemail-a20.g.dreamhost.com (Postfix) with ESMTP id 49B097EC07A;\r
+       Thu,  8 Sep 2011 06:45:39 -0700 (PDT)\r
+DomainKey-Signature: a=rsa-sha1; c=nofws; d=SSpaeth.de; h=from:to:cc:subject\r
+       :in-reply-to:references:date:message-id:mime-version:\r
+       content-type; q=dns; s=sspaeth.de; b=QSgllur7Wo78Ewvk7/cwU5tocIr\r
+       A50lyX37g2nkua+/Efo6iE77DfRi1f7WditaaX6ftlXzrWpqUv/SXMtrshY4OCea\r
+       5K/oC1ZpsKVFP42WbIFaEohxGG4HolAtrYMHDWXfFJbaWXAiA+gTqB2ZfmiWYscl\r
+       vqiLcoPsJhY7oh1M=\r
+DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=SSpaeth.de; h=from:to:cc\r
+       :subject:in-reply-to:references:date:message-id:mime-version:\r
+       content-type; s=sspaeth.de; bh=yrThT9hZ/Inr1KHPrLSKffDHl08=; b=V\r
+       zb5IiAWIlXK9Iur4A/3+2kXMV1QhFAGRBqAv4PzAdyBVCjr0Tte2QhN/wjqpnHVY\r
+       G1ywW7tQNDv/UznK1QhIPnL0furrTGwrbaSY71Bw+L2eCC6XXnHpDHrGNDH7I6mG\r
+       9XD4zGt9rP2JyWThUb+iRUlu0ayqx1DGrPwsRuLV08=\r
+Received: from spaetzbook.sspaeth.de (mtec-hg-docking-1-dhcp-21.ethz.ch\r
+       [129.132.133.21])\r
+       (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits))\r
+       (No client certificate requested)\r
+       (Authenticated sender: fax@sspaeth.de)\r
+       by homiemail-a20.g.dreamhost.com (Postfix) with ESMTPSA id 76B6F7EC063; \r
+       Thu,  8 Sep 2011 06:45:37 -0700 (PDT)\r
+Received: by spaetzbook.sspaeth.de (sSMTP sendmail emulation);\r
+       Thu, 08 Sep 2011 15:45:35 +0200\r
+From: Sebastian Spaeth <Sebastian@SSpaeth.de>\r
+To: Martin Owens <doctormo@gmail.com>\r
+Subject: Re: Not much database creation error\r
+In-Reply-To: <1315373219.32058.157.camel@delen>\r
+References: <1315110898.32058.13.camel@delen> <87vct7t7m4.fsf@SSpaeth.de>\r
+       <1315373219.32058.157.camel@delen>\r
+User-Agent: Notmuch/0.7-19-gee4579a (http://notmuchmail.org) Emacs/23.2.1\r
+       (x86_64-pc-linux-gnu)\r
+Date: Thu, 08 Sep 2011 15:45:35 +0200\r
+Message-ID: <8739g7gnb4.fsf@SSpaeth.de>\r
+MIME-Version: 1.0\r
+Content-Type: multipart/signed; boundary="=-=-=";\r
+       micalg=pgp-sha1; protocol="application/pgp-signature"\r
+Cc: Notmuch developer list <notmuch@notmuchmail.org>,\r
+       Paul Tagliamonte <tag@pault.ag>\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Thu, 08 Sep 2011 13:45:41 -0000\r
+\r
+--=-=-=\r
+Content-Transfer-Encoding: quoted-printable\r
+\r
+On Wed, 07 Sep 2011 01:26:59 -0400, Martin Owens <doctormo@gmail.com> wrote:\r
+> As a further question, I have a program opening the database for\r
+> READ_WRITE access (this process provides a simple write only dbus\r
+> interface) and I want clients to connect to notmuch over a read only\r
+> connection.\r
+>=20\r
+> A problem I'm having is that when I add messages to the database,\r
+> searching using the read only interface fails to show anything.\r
+\r
+> Is this api topology not expected/recommended/working? Please advise.\r
+\r
+hi Martin,\r
+\r
+I have to admit, I am not deep into the libnotmuch/xapian internals, so\r
+I might be the wrong person to ask (I just do some python bindings to\r
+whatever libnotmuch provides).\r
+\r
+However, when a read-write connection changes content, I believe that\r
+all other existing connections will return an error stating\r
+DATABASE_MODIFIED. I think we throw (or at least are supposed to throw)\r
+an exception in this case.\r
+\r
+Are you seeing any exceptions or errors been thrown?  Does it not show\r
+ANYTHING or only not the new messages?\r
+\r
+An open database connection provides you only with a snapshot, and you\r
+need to reopen it after content has been modified.\r
+\r
+Sebastian\r
+\r
+--=-=-=\r
+Content-Type: application/pgp-signature\r
+\r
+-----BEGIN PGP SIGNATURE-----\r
+Version: GnuPG v1.4.11 (GNU/Linux)\r
+\r
+iEYEARECAAYFAk5oxv8ACgkQVYX1jMgnoGIhVwCgizE8fEdKarKdvUv0Rq3M723x\r
+J2QAn0xo3928wh9LqbyBkGbhWGnCf7bE\r
+=9n8d\r
+-----END PGP SIGNATURE-----\r
+--=-=-=--\r