From: David Bremner <david@tethera.net>
To: Gaute Hope <eg@gaute.vetsj.com>, notmuch@notmuchmail.org
Subject: Re: how do the different frontends deal with displaying large queries?
Date: Sat, 27 Feb 2016 08:50:18 -0400 [thread overview]
Message-ID: <877fhq5ncl.fsf@zancas.localnet> (raw)
In-Reply-To: <1456487129-astroid-1-zemv9qfkbh-18628@strange>
Gaute Hope <eg@gaute.vetsj.com> 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
next prev parent reply other threads:[~2016-02-27 12:50 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-24 6:49 how do the different frontends deal with displaying large queries? Gaute Hope
2016-02-24 17:48 ` David Bremner
2016-02-24 17:55 ` Gaute Hope
2016-02-26 11:50 ` Gaute Hope
2016-02-27 12:50 ` David Bremner [this message]
2016-02-28 12:32 ` Gaute Hope
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://notmuchmail.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=877fhq5ncl.fsf@zancas.localnet \
--to=david@tethera.net \
--cc=eg@gaute.vetsj.com \
--cc=notmuch@notmuchmail.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).