From 5aee88c4717426f5fce06bb1df84344b9b750c76 Mon Sep 17 00:00:00 2001 From: Istvan Marko Date: Mon, 27 Jun 2016 12:24:56 +1700 Subject: [PATCH] Re: v4 of DB_RETRY_LOCK patches --- f9/dc2e15ffdc56c8f11fa34430e02b45ff111ce7 | 61 +++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 f9/dc2e15ffdc56c8f11fa34430e02b45ff111ce7 diff --git a/f9/dc2e15ffdc56c8f11fa34430e02b45ff111ce7 b/f9/dc2e15ffdc56c8f11fa34430e02b45ff111ce7 new file mode 100644 index 000000000..ec5561265 --- /dev/null +++ b/f9/dc2e15ffdc56c8f11fa34430e02b45ff111ce7 @@ -0,0 +1,61 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by arlo.cworth.org (Postfix) with ESMTP id A3BE46DE035F + for ; Sun, 26 Jun 2016 12:49:06 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at cworth.org +X-Spam-Flag: NO +X-Spam-Score: 0.055 +X-Spam-Level: +X-Spam-Status: No, score=0.055 tagged_above=-999 required=5 tests=[AWL=0.055] + autolearn=disabled +Received: from arlo.cworth.org ([127.0.0.1]) + by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id riX9apSYj4vt for ; + Sun, 26 Jun 2016 12:48:58 -0700 (PDT) +X-Greylist: delayed 1439 seconds by postgrey-1.35 at arlo; + Sun, 26 Jun 2016 12:48:58 PDT +Received: from imarko.xen.prgmr.com (imarko.xen.prgmr.com [71.19.158.228]) + by arlo.cworth.org (Postfix) with ESMTP id AB4046DE0361 + for ; Sun, 26 Jun 2016 12:48:58 -0700 (PDT) +Received: from localhost ([127.0.0.1] helo=zsu.kismala.com) + by imarko.xen.prgmr.com with esmtp (Exim 4.85) + (envelope-from ) + id 1bHFfs-0008Ew-TQ; Sun, 26 Jun 2016 12:24:56 -0700 +From: Istvan Marko +To: David Bremner , notmuch@notmuchmail.org +Subject: Re: v4 of DB_RETRY_LOCK patches +In-Reply-To: <1466954985-25761-1-git-send-email-david@tethera.net> +References: <1466954985-25761-1-git-send-email-david@tethera.net> +User-Agent: Notmuch/0.22+54~g35e252c (https://notmuchmail.org) Emacs/25.0.95.1 + (x86_64-unknown-linux-gnu) +Date: Sun, 26 Jun 2016 12:24:56 -0700 +Message-ID: +MIME-Version: 1.0 +Content-Type: text/plain +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.20 +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: Sun, 26 Jun 2016 19:49:06 -0000 + +Thanks for getting this into shape, LGTM. + +FWIW, I have been running with DB_RETRY_LOCK for the past couple of +months on a fairly large mail spool (500K emails), a high incoming +volume and many tagging rules. So far it's been working great. No +deadlocks, any delays waiting for locks are barely noticeable and it's +so nice not having to deal with those annoying "already locked" +failures. + +-- + Istvan -- 2.26.2