]> git.notmuchmail.org Git - notmuch/commit
cli/insert: return EX_TEMPFAIL for some errors
authorDavid Bremner <david@tethera.net>
Mon, 28 Nov 2016 03:01:42 +0000 (23:01 -0400)
committerDavid Bremner <david@tethera.net>
Wed, 7 Dec 2016 11:00:40 +0000 (07:00 -0400)
commitd74c5345704136611f993ca38e0d035b1da798b6
treea9d5383e410994bb0261d704fe1a102f9639e1d7
parent9259b97fa2659ae6b6dbcd49b04db087e64036ad
cli/insert: return EX_TEMPFAIL for some errors

Attempt to distinguish between errors indicating misconfiguration or
programmer error, which we consider "permanent", in the sense that
automatic retries are unlikely to be useful, and those indicating
transient error conditions. We consider XAPIAN_EXCEPTION transient
because it covers the important special case of locking failure.
notmuch-client.h
notmuch-insert.c
status.c
test/T070-insert.sh