From: David Bremner Date: Sat, 27 Feb 2016 12:50:18 +0000 (+2000) Subject: Re: how do the different frontends deal with displaying large queries? X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=adacb1612b5f4d7c0924e1ce3d85a5635dd9cb48;p=notmuch-archives.git Re: how do the different frontends deal with displaying large queries? --- diff --git a/bb/1f3542d4131589453c320424d870c29447a711 b/bb/1f3542d4131589453c320424d870c29447a711 new file mode 100644 index 000000000..caf1062ed --- /dev/null +++ b/bb/1f3542d4131589453c320424d870c29447a711 @@ -0,0 +1,72 @@ +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 024936DE0B4B + for ; Sat, 27 Feb 2016 04:50:27 -0800 (PST) +X-Virus-Scanned: Debian amavisd-new at cworth.org +X-Spam-Flag: NO +X-Spam-Score: -0.036 +X-Spam-Level: +X-Spam-Status: No, score=-0.036 tagged_above=-999 required=5 + tests=[AWL=-0.025, 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 xSl8YGdLyIVt for ; + Sat, 27 Feb 2016 04:50:24 -0800 (PST) +Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) + by arlo.cworth.org (Postfix) with ESMTPS id 637D96DE0924 + for ; Sat, 27 Feb 2016 04:50:24 -0800 (PST) +Received: from remotemail by fethera.tethera.net with local (Exim 4.84) + (envelope-from ) + id 1aZeKq-0006S4-0U; Sat, 27 Feb 2016 07:51:00 -0500 +Received: (nullmailer pid 3146 invoked by uid 1000); + Sat, 27 Feb 2016 12:50:18 -0000 +From: David Bremner +To: Gaute Hope , notmuch@notmuchmail.org +Subject: Re: how do the different frontends deal with displaying large + queries? +In-Reply-To: <1456487129-astroid-1-zemv9qfkbh-18628@strange> +References: <1456296267-astroid-0-gqidxpyulu-23762@strange> + <87ziuqj8xl.fsf@tesseract.cs.unb.ca> + <1456487129-astroid-1-zemv9qfkbh-18628@strange> +User-Agent: Notmuch/0.21+26~g9404723 (http://notmuchmail.org) Emacs/24.5.1 + (x86_64-pc-linux-gnu) +Date: Sat, 27 Feb 2016 08:50:18 -0400 +Message-ID: <877fhq5ncl.fsf@zancas.localnet> +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: Sat, 27 Feb 2016 12:50:27 -0000 + +Gaute Hope writes: + +> +> While loading the threads, if I make enough modifications to the +> database while the query is still loading (specifically 1: removing the +> unread tag from a thread, and 2: adding the unread tag to the same thread) +> apparently the query is invalidated in some way, and I get a hard crash +> in `notmuch_tags_get ()`. +> +> The thread in question has alreaday been loaded and is displayed. +> +> Do you deal with this issue in some way? +> + +I think we "deal with" it by not leaving the database open very +long. The query is dumped as s-expr by a seperate process. Or perhaps we +just aren't doing the same level of concurrent operations, I don't know. + +d