[BUG] notmuch_message_tags_to_maildir_flags does not always invalidate filenames_list

Subject: [BUG] notmuch_message_tags_to_maildir_flags does not always invalidate filenames_list

Date: Fri, 20 May 2022 01:52:53 -0700

To: notmuch@notmuchmail.org

Cc:

From: Eliza Velasquez


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
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: