[PATCH 10/12] vinyl: remove superfluous ddl checks

Konstantin Osipov kostja at tarantool.org
Mon Apr 9 23:49:55 MSK 2018


* Vladimir Davydov <vdavydov.dev at gmail.com> [18/04/09 10:33]:
> There's no need to iterate over all indexes in vinyl_space_prepare_alter
> and check if any of them is going to be rebuilt - alter_space_do already
> does that for us. All we need to do is raise an error if the build_index
> callback is invoked for a non-empty space after recovery is complete.
> The tuple format check is pointless too, as it is already done by
> CheckSpaceFormat AlterSpaceOp. Remove them.

Nice. OK to push.

-- 
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