unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* [BUG] notmuch_message_tags_to_maildir_flags does not always invalidate filenames_list
@ 2022-05-20  8:52 Eliza Velasquez
  2022-05-20 14:30 ` David Bremner
  2022-05-24 12:45 ` David Bremner
  0 siblings, 2 replies; 5+ messages in thread
From: Eliza Velasquez @ 2022-05-20  8:52 UTC (permalink / raw)
  To: notmuch

Hello notmuch,

As the subject says, it seems like the filename cache for a message is
not reliably invalidated when notmuch_message_tags_to_maildir_flags is
called, causing the following series of function calls to behave
unexpectedly.

- notmuch_database_index_file
- notmuch_message_get_filenames
- notmuch_message_tags_to_maildir_flags
- notmuch_message_get_filenames (stale list returned)

According to the investigator [1], this happens about 10% of the time,
but it's possible that this is just because there is some quirk in the
client-side code causing it to trigger only sometimes.

[1] https://github.com/elizagamedev/mujmap/pull/10#issuecomment-1131587169

-- 
Eliza

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

end of thread, other threads:[~2022-06-01 12:02 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-20  8:52 [BUG] notmuch_message_tags_to_maildir_flags does not always invalidate filenames_list Eliza Velasquez
2022-05-20 14:30 ` David Bremner
2022-05-24 12:45 ` David Bremner
2022-05-25  1:28   ` Eliza Velasquez
2022-06-01 12:02     ` 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).