[PATCH 1/3] new: Do not defer maildir flag synchronization during the first run

Michal Sojka sojkam1 at fel.cvut.cz
Wed Jan 26 08:50:49 PST 2011


On Wed, 26 Jan 2011, Austin Clements wrote:
> The one other change is that currently, if notmuch is interrupted
> after updating a directory mtime but before processing file removals,
> a subsequent notmuch new will miss those removals.  This could be
> brushed under the rug, since notmuch will notice the removal after any
> other change in that directory.  Or it could be handled correctly by
> giving directories a "removal mtime" in addition to their current
> "addition mtime" that is only updated after removals are handled.

Yes, that might be a problem if notmuch new is interrupted by something
like SIGKILL or power-off. There is protection against interruption by
Ctrl-C.

-Michal


More information about the notmuch mailing list