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 05744431FD0 for ; Mon, 26 Sep 2011 15:04:41 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.7 X-Spam-Level: X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5 tests=[RCVD_IN_DNSWL_LOW=-0.7] 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 cAPGnMRdh1QL for ; Mon, 26 Sep 2011 15:04:40 -0700 (PDT) Received: from dmz-mailsec-scanner-1.mit.edu (DMZ-MAILSEC-SCANNER-1.MIT.EDU [18.9.25.12]) by olra.theworths.org (Postfix) with ESMTP id 63011431FB6 for ; Mon, 26 Sep 2011 15:04:40 -0700 (PDT) X-AuditID: 1209190c-b7fd26d0000008df-5c-4e80f6f79879 Received: from mailhub-auth-3.mit.edu ( [18.9.21.43]) by dmz-mailsec-scanner-1.mit.edu (Symantec Messaging Gateway) with SMTP id A3.6A.02271.7F6F08E4; Mon, 26 Sep 2011 18:04:39 -0400 (EDT) Received: from outgoing.mit.edu (OUTGOING-AUTH.MIT.EDU [18.7.22.103]) by mailhub-auth-3.mit.edu (8.13.8/8.9.2) with ESMTP id p8QM4ciw006611; Mon, 26 Sep 2011 18:04:39 -0400 Received: from awakening.csail.mit.edu (awakening.csail.mit.edu [18.26.4.91]) (authenticated bits=0) (User authenticated as amdragon@ATHENA.MIT.EDU) by outgoing.mit.edu (8.13.6/8.12.4) with ESMTP id p8QM4bUL001025 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT); Mon, 26 Sep 2011 18:04:38 -0400 (EDT) Received: from amthrax by awakening.csail.mit.edu with local (Exim 4.72) (envelope-from ) id 1R8JKH-0003Kf-Cj; Mon, 26 Sep 2011 18:07:01 -0400 Date: Mon, 26 Sep 2011 18:07:01 -0400 From: Austin Clements To: David Bremner Subject: Re: [PATCH v6 00/17] Fix 'notmuch new' atomicity issues Message-ID: <20110926220701.GL17905@mit.edu> References: <87ei34rnc5.fsf@yoom.home.cworth.org> <1307822683-848-1-git-send-email-amdragon@mit.edu> <87ty8gobv0.fsf@zancas.localnet> <87bouabpic.fsf@rocinante.cs.unb.ca> <20110924040244.GE17905@mit.edu> <871uv5mjpg.fsf@zancas.localnet> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <871uv5mjpg.fsf@zancas.localnet> User-Agent: Mutt/1.5.20 (2009-06-14) X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmpmleLIzCtJLcpLzFFi42IR4hTV1v3+rcHPYM9pFosbrd2MFtdvzmR2 YPJ4tuoWs8eWQ++ZA5iiuGxSUnMyy1KL9O0SuDLet2xkLnjFUfGq/zZ7A2MXexcjJ4eEgIlE 0+wNzBC2mMSFe+vZuhi5OIQE9jFKfJvRB+VsYJTY8GgvI4Rzkkniyb4rLBDOEkaJHQsvs4L0 swioSmydcYMFxGYT0JDYtn85I4gtAhS/um0yG4jNLCAt8e13M1MXIzuHsICDxDc1kCivgI7E 9m+zmCBGfmGS6H52nx0iIShxcuYTFohWLYkb/14CFXGAjVn+jwMkzCmgK7Hp+CWwElEBFYlr +9vZJjAKzULSPQtJ9yyE7gWMzKsYZVNyq3RzEzNzilOTdYuTE/PyUot0DfVyM0v0UlNKNzGC w1qSZwfjm4NKhxgFOBiVeHhnbmvwE2JNLCuuzD3EKMnBpCTK2/IJKMSXlJ9SmZFYnBFfVJqT WnyIUYKDWUmE1/Q1UI43JbGyKrUoHyYlzcGiJM57cIeDn5BAemJJanZqakFqEUxWhoNDSYL3 0legRsGi1PTUirTMnBKENBMHJ8hwHqDhyl9AhhcXJOYWZ6ZD5E8xKkqJ8z4AaRYASWSU5sH1 wtLOK0ZxoFeEeQWASUiIB5iy4LpfAQ1mAhqcU1MLMrgkESEl1cA4fZM/w8wb6tsFameqhexc sEZvcWBp6e9Zi4V0Xuo0JUzYtkcsYsqk14dU3uk+TajP7/q95uu9JyyhZxqv8tqY8h9ee6Fb KUvTZdvyMJn5qw2OnXeTSllaXbGsuTJ+sVhOwXYtNuZZqedna0y2fXgw+3UVY+n8PbEf94np 3n1m+GtB6PN/TMprlFiKMxINtZiLihMBVItyHBYDAAA= Cc: notmuch@notmuchmail.org 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: Mon, 26 Sep 2011 22:04:41 -0000 Quoth David Bremner on Sep 24 at 11:36 pm: > On Sat, 24 Sep 2011 00:03:02 -0400, Austin Clements wrote: > > > > Awesome. Only seven more to go! > > The remaining seven are pushed, along with some related debian packaging > things. Huzzah! > Austin, could I bug you for some atomicity related items for NEWS? I > guess at least the 3 new library calls should be mentioned. In fact, I've been looking forward to writing some NEWS items! Correct handling of interruptions during "notmuch new" "notmuch new" now operates as a series of small, self-consistent transactions, so it can correctly resume after an interruption or crash. Previously, interruption could lose existing tags, fail to detect messages on resume, or leave the database in a state temporarily or permanently inconsistent with the mail store. Library changes --------------- New functions notmuch_database_begin_atomic and notmuch_database_end_atomic allow multiple database operations to be performed atomically. notmuch_database_find_message_by_filename does exactly what it says.