unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* T568-lib-thread is non-deterministic
@ 2021-01-14 15:59 Alyssa Ross
  2021-01-14 16:05 ` Alyssa Ross
  2021-07-30 13:17 ` David Bremner
  0 siblings, 2 replies; 3+ messages in thread
From: Alyssa Ross @ 2021-01-14 15:59 UTC (permalink / raw)
  To: notmuch; +Cc: Puck Meerburg

T568-lib-thread assums that there will always be a thread with ID
thread:0000000000000009, but this turns out not to be the case.

This was reported to us in Nixpkgs[1], where it caused builds of our
notmuch package to intermittently fail, and I was able to
(intermittently) reproduce.  We are going to work around this problem
for now by disabling T568.  I can provide a Xapian DB generated by this
test with no thread with that ID if that's helpful.  I believe this also
explains this report previously sent to the Notmuch mailing list[2].

Note on reproducing: I found that it often would succeed repeatedly
many, many times before failing, and then failing consistently for a
while.  My co-conspirator Puck (CCed) thinks this might be due to how
directory order works in ZFS (which just happens to be the filesystem we
are using).

[1]: https://github.com/NixOS/nixpkgs/issues/109092
[2]: https://nmbug.notmuchmail.org/nmweb/show/874ko8trhk.fsf%40tethera.net

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-07-30 13:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-14 15:59 T568-lib-thread is non-deterministic Alyssa Ross
2021-01-14 16:05 ` Alyssa Ross
2021-07-30 13:17 ` David Bremner

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).