[RFC patch 2/2] lib: handle DatabaseModifiedError in _n_message_ensure_metadata

Gaute Hope eg at gaute.vetsj.com
Fri Feb 24 02:21:06 PST 2017


David Bremner writes on februar 24, 2017 3:49:
> David Bremner <david at tethera.net> writes:
> 
>> The error handling here still needs work. The retry count should be
>> handled in more sane way, and both running out of retries and an error
>> return from notmuch_database_reopen should be handled.
> 
> Probably the number of retries can be limited to 1, since afaict, reopen
> is not going to return any recoverable errors.

Does _reopen block if the db is locked?


More information about the notmuch mailing list