Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id AB23D431FD0 for ; Wed, 28 Sep 2011 09:36:37 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.09 X-Spam-Level: X-Spam-Status: No, score=-0.09 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, T_MIME_NO_TEXT=0.01] autolearn=disabled Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sYnFGtqIPoyZ for ; Wed, 28 Sep 2011 09:36:37 -0700 (PDT) Received: from homiemail-a20.g.dreamhost.com (caiajhbdcagg.dreamhost.com [208.97.132.66]) by olra.theworths.org (Postfix) with ESMTP id 0F27A431FB6 for ; Wed, 28 Sep 2011 09:36:37 -0700 (PDT) Received: from homiemail-a20.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a20.g.dreamhost.com (Postfix) with ESMTP id 6F5147EC078; Wed, 28 Sep 2011 09:36:36 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=SSpaeth.de; h=from:to:subject :in-reply-to:references:date:message-id:mime-version: content-type; q=dns; s=sspaeth.de; b=VuPdpZaFIeVc2o2ErrKxsTavv1H +C8mZxmIFbm4bO/Ju3VlWHwknJ8lYZwTryZkTOD8LzK4jv0baUinEvZ3/EAaXMOr Ufbmc1uBGQsgc8rzNJFY890jvrowOMnuSV8JniJrT6mtZONI3G2UqJK0C2wmEKax H7aBipNV4A19fDko= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=SSpaeth.de; h=from:to :subject:in-reply-to:references:date:message-id:mime-version: content-type; s=sspaeth.de; bh=5+xCQ1rBaJdG8iIZp+5hkjSzWSc=; b=M HDZ89YIB7vxkEOvQVHALPOiF5droZFWkHaqsavayhQaM2d8eeagEZldwyJmEnny1 z0EVUQplbAQ28LzRAu1BIdIWxVFnYLPcFY3Uoh/XQG7UHcxZ89IT8OZvoiIHsbDU GwkTVwXXK9D03NVoO23V9DK+EJMV9aDomj2WI00Szc= Received: from spaetzbook.sspaeth.de (mtec-hg-docking-2-dhcp-194.ethz.ch [82.130.121.194]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: fax@sspaeth.de) by homiemail-a20.g.dreamhost.com (Postfix) with ESMTPSA id E507F7EC065; Wed, 28 Sep 2011 09:36:34 -0700 (PDT) Received: by spaetzbook.sspaeth.de (sSMTP sendmail emulation); Wed, 28 Sep 2011 18:36:33 +0200 From: Sebastian Spaeth To: Austin Clements , notmuch@notmuchmail.org Subject: Re: [PATCH v6 00/17] Fix 'notmuch new' atomicity issues In-Reply-To: <1307822683-848-1-git-send-email-amdragon@mit.edu> References: <87ei34rnc5.fsf@yoom.home.cworth.org> <1307822683-848-1-git-send-email-amdragon@mit.edu> User-Agent: Notmuch/0.7-19-gee4579a (http://notmuchmail.org) Emacs/23.2.1 (x86_64-pc-linux-gnu) Date: Wed, 28 Sep 2011 18:36:32 +0200 Message-ID: <87fwjgoc8f.fsf@SSpaeth.de> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Sep 2011 16:36:37 -0000 --=-=-= On Sat, 11 Jun 2011 16:04:26 -0400, Austin Clements wrote: > Here's the reworked patch series that uses atomic sections more > heavily rather than changing the removal API. This is atomic-new-v6 > on http://awakening.csail.mit.edu/git/notmuch.git . I just caught up implementing find_message_by_filename and begin|end_atomic One oddity, since databases are opened in read-only by default, I was surprise to see find_message_by_filename on such a database have my python instance crash... > lib: Add an API to find a message by filename. > Culled from "lib: Add API's to find by filename and ..." in the old > series. What I kept is identical. db.find_message_by_filename("moo") Internal error: Failure to ensure database is writable (lib/directory.cc:100). Outch? Sebastian --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iEYEARECAAYFAk6DTRAACgkQVYX1jMgnoGJUKwCfWj9v2ELIoQyVeTAI63ZD7Jff cdAAn1yM8sfb8iGOEAwKQRZxHyZ/VdsH =+ILK -----END PGP SIGNATURE----- --=-=-=--