[PATCH v2 4/8] vinyl: bump mem version after committing statement

Konstantin Osipov kostja at tarantool.org
Thu Jun 7 08:41:28 MSK 2018


* Vladimir Davydov <vdavydov.dev at gmail.com> [18/05/28 07:49]:
> Since commit 1e1c1fdbeddb ("vinyl: make read iterator always return
> newest tuple version") vinyl read iterator guarantees that any tuple it
> returns is the newest version in the iterator read view. However, if we
> don't bump mem version after assigning LSN to a mem statement, a read
> iterator using committed_read_view might not see it and return a stale
> tuple. Currently, there's no code that relies on this iterator feature,
> but we will need it for building new indexes. Without this patch, build
> (introduced later in the series) might return inconsistent results.

Pushed.

-- 
Konstantin Osipov, Moscow, Russia, +7 903 626 22 32
http://tarantool.io - www.twitter.com/kostja_osipov



More information about the Tarantool-patches mailing list