From: David Bremner Date: Wed, 29 Jun 2016 07:10:13 +0000 (+0200) Subject: Re: [PATCH 1/3] Use the Xapian::DB_RETRY_LOCK flag when available X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=2cae8bc050f71f61bdbc9e8282720be370a1c3f3;p=notmuch-archives.git Re: [PATCH 1/3] Use the Xapian::DB_RETRY_LOCK flag when available --- diff --git a/ba/538f62b227fffd62e6e110d4f7458875c8c0a4 b/ba/538f62b227fffd62e6e110d4f7458875c8c0a4 new file mode 100644 index 000000000..1d215ad19 --- /dev/null +++ b/ba/538f62b227fffd62e6e110d4f7458875c8c0a4 @@ -0,0 +1,62 @@ +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 926906DE025F + for ; Wed, 29 Jun 2016 00:10:30 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at cworth.org +X-Spam-Flag: NO +X-Spam-Score: -0.011 +X-Spam-Level: +X-Spam-Status: No, score=-0.011 tagged_above=-999 required=5 tests=[AWL=0.000, + SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] 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 qiPHjhJGWXJJ for ; + Wed, 29 Jun 2016 00:10:23 -0700 (PDT) +Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) + by arlo.cworth.org (Postfix) with ESMTPS id 26D306DE02A9 + for ; Wed, 29 Jun 2016 00:10:18 -0700 (PDT) +Received: from remotemail by fethera.tethera.net with local (Exim 4.84) + (envelope-from ) + id 1bI9dH-0006EC-DQ; Wed, 29 Jun 2016 03:09:59 -0400 +Received: (nullmailer pid 16146 invoked by uid 1000); + Wed, 29 Jun 2016 07:10:13 -0000 +From: David Bremner +To: notmuch@notmuchmail.org +Subject: Re: [PATCH 1/3] Use the Xapian::DB_RETRY_LOCK flag when available +In-Reply-To: <1466954985-25761-2-git-send-email-david@tethera.net> +References: <1466954985-25761-1-git-send-email-david@tethera.net> + <1466954985-25761-2-git-send-email-david@tethera.net> +User-Agent: Notmuch/0.22+51~gcc1a6d2 (https://notmuchmail.org) Emacs/24.5.1 + (x86_64-pc-linux-gnu) +Date: Wed, 29 Jun 2016 09:10:13 +0200 +Message-ID: <87d1n01ne2.fsf@maritornes.cs.unb.ca> +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: Wed, 29 Jun 2016 07:10:30 -0000 + +David Bremner writes: + +> From: Istvan Marko +> +> Xapian 1.3 has introduced the DB_RETRY_LOCK flag (Xapian bug +> 275). Detect it in configure and optionally use it. With this flag +> commands that need the write lock will wait for their turn instead of +> aborting when it's not immediately available. + +series pushed + +d