[Tarantool-patches] [PATCH 2/2] wal: panic when trying to write a record with a broken lsn

Konstantin Osipov kostja.osipov at gmail.com
Thu Feb 13 09:48:31 MSK 2020


* sergepetrenko <sergepetrenko at tarantool.org> [20/02/13 09:34]:
> There is an assertion in vclock_follow `lsn > prev_lsn`, which doesn't
> fire in release builds, of course. So we better panic on an attemt to
> write a record with a duplicate or otherwise broken lsn.
> 

It should be a warning in production. You can't crash production
deploy because of a server bug, and lsn inconsistency is always a
server bug.

-- 
Konstantin Osipov, Moscow, Russia


More information about the Tarantool-patches mailing list