notmuch/lib
David Bremner e0b22c139c lib: handle DatabaseModifiedError in _n_message_ensure_metadata
The retries are hardcoded to a small number, and error handling aborts
than propagating errors from notmuch_database_reopen. These are both
somewhat justified by the assumption that most things that can go
wrong in Xapian::Database::reopen are rare and fatal. Here's the brief
discussion with Xapian upstream:

   24-02-2017 08:12:57 < bremner> any intuition about how likely
      Xapian::Database::reopen is to fail? I'm catching a
      DatabaseModifiedError somewhere where handling any further errors is
      tricky, and wondering about treating a failed reopen as as "the
      impossible happened, stopping"

   24-02-2017 16:22:34 < olly> bremner: there should not be much scope for
    failure - stuff like out of memory or disk errors, which are probably a
    good enough excuse to stop
2017-02-25 21:13:50 -04:00
..
built-with.c lib: add built_with handling for XAPIAN_DB_RETRY_LOCK 2016-06-29 09:05:49 +02:00
config.cc Use https instead of http where possible 2016-06-05 08:32:17 -03:00
database-private.h lib: add _notmuch_database_reopen 2017-02-25 21:09:17 -04:00
database.cc lib: add _notmuch_database_reopen 2017-02-25 21:09:17 -04:00
directory.cc lib: update cached mtime in notmuch_directory_set_mtime 2016-08-23 20:58:46 -03:00
filenames.c Use https instead of http where possible 2016-06-05 08:32:17 -03:00
gen-version-script.sh Use https instead of http where possible 2016-06-05 08:32:17 -03:00
index.cc Use https instead of http where possible 2016-06-05 08:32:17 -03:00
Makefile fix sum moar typos [build scripts, Makefiles] 2011-06-23 15:44:59 -07:00
Makefile.local lib: use glib for sha1 digests instead of embedding libsha1 2017-01-08 10:50:38 -04:00
message-file.c Use https instead of http where possible 2016-06-05 08:32:17 -03:00
message-private.h lib: basic message-property API 2016-09-21 18:14:24 -03:00
message-property.cc lib: iterator API for message properties 2016-09-21 18:14:25 -03:00
message.cc lib: handle DatabaseModifiedError in _n_message_ensure_metadata 2017-02-25 21:13:50 -04:00
messages.c Use https instead of http where possible 2016-06-05 08:32:17 -03:00
notmuch-private.h lib: add _notmuch_database_reopen 2017-02-25 21:09:17 -04:00
notmuch.h docs: fix notmuch_message_properties_value documentation 2017-01-15 14:25:00 -04:00
parse-time-vrp.cc Use https instead of http where possible 2016-06-05 08:32:17 -03:00
parse-time-vrp.h Use https instead of http where possible 2016-06-05 08:32:17 -03:00
query-fp.cc Use https instead of http where possible 2016-06-05 08:32:17 -03:00
query-fp.h Use https instead of http where possible 2016-06-05 08:32:17 -03:00
query.cc lib: optimize counting documents 2017-01-27 21:54:44 -04:00
sha1.c lib: use glib for sha1 digests instead of embedding libsha1 2017-01-08 10:50:38 -04:00
string-list.c Use https instead of http where possible 2016-06-05 08:32:17 -03:00
string-map.c lib: add talloc reference from string map iterator to map 2016-09-24 10:08:45 -03:00
tags.c Use https instead of http where possible 2016-06-05 08:32:17 -03:00
thread.cc Use https instead of http where possible 2016-06-05 08:32:17 -03:00