Re: [PATCH] test: add known broken test for duplicate thread-id terms

Subject: Re: [PATCH] test: add known broken test for duplicate thread-id terms

Date: Mon, 17 May 2021 11:33:54 +0200

To: David Bremner, notmuch@notmuchmail.org

Cc: David Bremner

From: Michael J Gruber


David Bremner venit, vidit, dixit 2021-05-15 15:05:07:
> According to my bijection, this bug has been present since commit
> 411675a6ce in 2017. It is apparently harmless for regular use, but
> does make notmuch crash when compiled with -DDEBUG_DATABASE_SANITY.

If a message "belongs" to 2 threads, doesn't it mean that it "belongs"
to at least 1 that it doesn't really belong to?

The recent problem with "db update in pre-new hook" surfaced as extra
thread assignments for the wrong messages (making them show up the wrong
thread, too).

I meanwhile noticed that they are more common, but am wondering whether
they are really harmless?

Michael
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: