[Tarantool-patches] [PATCH 1/1] txn_limbo: panic when synchro WAL write fails

Cyrill Gorcunov gorcunov at gmail.com
Thu Jul 30 11:49:39 MSK 2020


On Thu, Jul 30, 2020 at 01:39:05AM +0200, Vladislav Shpilevoy wrote:
> CONFIRM and ROLLBACK go to WAL. Their WAL write can fail just like
> any other WAL write. However it is not clear what to do in that
> case, especially in case of ROLLBACK fail.
> 
> The patch adds panic() stub so as to at least terminate the
> instance. Before the patch it would work like nothing happened,
> with undefined behaviour.
> 
> Closes #5159

This bunch of panicings is priceless :-) We _are_ to make some
more sane handling in near future. For a while this is fine.

Reviewed-by: Cyrill Gorcunov <gorcunov at gmail.com>


More information about the Tarantool-patches mailing list