[tarantool-patches] Re: [PATCH 2/2] vinyl: fail aborted transactions early

Vladimir Davydov vdavydov.dev at gmail.com
Thu Mar 28 17:43:00 MSK 2019


On Thu, Mar 28, 2019 at 05:05:57PM +0300, Konstantin Osipov wrote:
> * Vladimir Davydov <vdavydov.dev at gmail.com> [19/03/22 21:17]:
> > We abort transactions when switching to read-only mode, building a new
> > index, or reverting a statement after a failed WAL write. It's no use
> > to allow an aborted transaction to proceed as usual until commit - we
> > should fail it as early as we can to avoid wasting resources. Currently,
> > we do it in a rather abrupt way - by an assertion :-) This patch makes
> > any DML/DQL operation fail gracefully instead.
> > Closes #4070
> 
> OK to push.

Pushed both patches to master, 2.1, and 1.10.



More information about the Tarantool-patches mailing list