[PATCH] cli: consider files vanishing during notmuch new non-fatal
David Bremner
david at tethera.net
Sat Nov 12 13:36:41 PST 2016
Brian Sniffen <bts at evenmere.org> writes:
> That's hard, given dovecot pointed at the same maildir: it quickly
> moves files from new to cur. That makes notmuch insert pretty useless,
> and I rely on notmuch new to approach correctness.
I don't think this discussion is related to notmuch insert at all. If
you have found a race condition (or some other concurrency issue) in
notmuch-insert please report that seperately.
>
> But maybe I misunderstand: is the idea that it will return an error
>but keep processing? Or stop on that error?
The whole discussion started because under certain circumstances it will
stop processing. The proposed patch makes it continue processing, but
report an error at the end.
More information about the notmuch
mailing list