[tarantool-patches] Re: [PATCH v3 2/5] Synchronize lua schema update with space cache

Konstantin Osipov kostja at tarantool.org
Wed Mar 27 14:45:56 MSK 2019


* Vladimir Davydov <vdavydov.dev at gmail.com> [19/03/27 14:22]:
> commit 1f736583361f537c8e1fb4ea0df0b92ee8d50c6d
> Author: Vladimir Davydov <vdavydov.dev at gmail.com>
> Date:   Tue Sep 19 14:21:59 2017 +0300
> 
>     box: use trigger to push space data to Lua
> 
>     Currently, it is done by space_cache_replace/delete which violates
>     incapsulation. Let's introduce a trigger that is fired after a change in
>     a space definition is committed and use it to propagate changes to Lua.
>     Patch by @kostja.

Let's call triggers, but call them directly from
space_cache_replace(). Please submit a follow up patch. We
discussed this with Georgy, but decided it's a bit outside of the
scope of the current patch.

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