[PATCH] dump: make dump take Xapian write lock

David Bremner david at tethera.net
Wed Jul 16 15:36:35 PDT 2014


Mark Walters <markwalters1009 at gmail.com> writes:

> Dump currently only takes the read lock. Xapian can cope with some
> changes while maintaining a read snapshot but with more changes it
> fails. Currently notmuch just gives a xapian error.
>
> To avoid this we take the write lock when dumping. This prevents other
> notmuch processes from modifying the xapian database preventing this
> error.

pushed. This needs a NEWS item.

d


More information about the notmuch mailing list