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 CD9C3431FB6 for ; Wed, 4 May 2011 13:30:15 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.699 X-Spam-Level: X-Spam-Status: No, score=-0.699 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, 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 WkCfICsmk7KS for ; Wed, 4 May 2011 13:30:15 -0700 (PDT) Received: from mail-qy0-f181.google.com (mail-qy0-f181.google.com [209.85.216.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 1A465431FB5 for ; Wed, 4 May 2011 13:30:15 -0700 (PDT) Received: by qyg14 with SMTP id 14so1294318qyg.5 for ; Wed, 04 May 2011 13:30:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; bh=H+DsQQL5onvBjcjX4xuzAf7FZwaOf7iKjEOZEwJHNzE=; b=cyw7bU+YWE6WkVFSNDa4p5HPF/7gF448+Hf+TQD38KCtggwNfDlIrfyBditrrYK8qK degoS/IPRIfCjpngr0EWKoWvWfuaZZyEPgh1rAQN9Cn34vXxDUBXlekUvOB3sVKMmC0w lVFk6iCRs70njERWCiohCk4+wV7J37MEfEcyY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; b=WaldV/PNP9EP9JqZoo1HSDrN/q6OowEl8yGsqXCW0yNfJO9GYIWaXATkXoJTCXfKYr kcg+m61AskajUlDQcmgGALBhqtoJ7COcNVW/2HzBfPA13UjPSaCaYMp7XIo22b7cT6R/ NqMGwzCUac+/NxOHUDpdxFvaph9Al4IPDGWFM= MIME-Version: 1.0 Received: by 10.229.88.197 with SMTP id b5mr1241909qcm.226.1304541009892; Wed, 04 May 2011 13:30:09 -0700 (PDT) Sender: amdragon@gmail.com Received: by 10.229.233.17 with HTTP; Wed, 4 May 2011 13:30:09 -0700 (PDT) In-Reply-To: References: <1298015940-31986-1-git-send-email-amdragon@mit.edu> Date: Wed, 4 May 2011 16:30:09 -0400 X-Google-Sender-Auth: QLjKGK11iH-CoZCJ6sWkVYKk28A Message-ID: Subject: Re: [PATCH 00/10] Fix 'notmuch new' atomicity issues From: Austin Clements To: notmuch@notmuchmail.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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, 04 May 2011 20:30:15 -0000 jrollins found a timing bug in the atomicity test. A fix, plus beefed up test comments are on a new atomic-new-v3 (and for-review/atomic-new-v3) branch at http://awakening.csail.mit.edu/git/notmuch.git/ Since this is more than a rebase, I'll email an update to the one changed patch in the series. On Tue, Apr 26, 2011 at 12:13 AM, Austin Clements wrote: > Bump. =A0Now rebased against current head (with no conflicts) on > atomic-new-v2 (and for-review/atomic-new-v2) at > =A0http://awakening.csail.mit.edu/git/notmuch.git/ > > On Fri, Feb 18, 2011 at 2:58 AM, Austin Clements wrote= : >> This patch series modifies notmuch new to perform all operations >> atomically and to perform maildir flag synchronization eagerly. =A0As a >> result, notmuch new can be interrupted without risking database >> consistency or losing track of messages, but still without losing >> progress in the middle of a big import. =A0This also paves the way for >> fixing the antisocial locking behavior of notmuch new. >> >> While there are quite a few patches in the series, each one is >> bite-sized and you can see the number of atomicity violations dropping >> with nearly every patch using the test added by the first patch. >> >> On my test machine, these patches have no affect on performance. >> >> These patches are also available on the atomic-new-v1 branch at >> =A0http://awakening.csail.mit.edu/git/notmuch.git/ >> >> _______________________________________________ >> notmuch mailing list >> notmuch@notmuchmail.org >> http://notmuchmail.org/mailman/listinfo/notmuch >> >