Re: [PATCH] forbid atomic transactions on writable, upgradable databases

Subject: Re: [PATCH] forbid atomic transactions on writable, upgradable databases

Date: Mon, 23 Nov 2015 08:52:02 -0400

To: Steven Allen, notmuch@notmuchmail.org

Cc:

From: David Bremner


Steven Allen <steven@stebalien.com> writes:

> 1. There is no reason to call `begin_atomic` unless you intend to to
>    write to the database and anyone intending to write to the database
>    should upgrade it first.
> 2. This means that nothing inside an atomic transaction can ever fail
>    with NOTMUCH_STATUS_UPGRADE_REQUIRED.

Applied to master

d

Thread: