From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Tue, 5 Mar 2019 22:00:12 +0300 From: Konstantin Osipov Subject: Re: [PATCH v2] box: add on_schema_init trigger Message-ID: <20190305190012.GD7992@chai> References: <20190305155309.32516-1-sergepetrenko@tarantool.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190305155309.32516-1-sergepetrenko@tarantool.org> To: Serge Petrenko Cc: vdavydov.dev@gmail.com, tarantool-patches@freelists.org List-ID: * Serge Petrenko [19/03/05 18:57]: > This patch introduces an on_schema_init trigger. The trigger may be set > before box.cfg() is called and is called during box.cfg() right after > prototypes of system spaces, such as _space, are created. This allows to > set triggers on system spaces before any other non-system data is > recovered. For example, it is possible to set an on_replace trigger on > _space, which will work even during recovery. Now lgtm, Vova, please do your own review and push. -- Konstantin Osipov, Moscow, Russia, +7 903 626 22 32 http://tarantool.io - www.twitter.com/kostja_osipov