[tarantool-patches] Re: [PATCH v4 2/2] box: implement on_shutdown triggers

Konstantin Osipov kostja at tarantool.org
Wed Jan 9 17:01:08 MSK 2019


* Vladimir Davydov <vdavydov.dev at gmail.com> [19/01/09 13:16]:
> > +/** Invoked on box shutdown. */
> > +extern struct rlist box_on_shutdown;
> > +
> 
> Nit: it would be nice to say here that it is only invoked upon receiving
> a terminating signal, not when os.exit() is called.

This is a usability problem. We need to monkey-patch os.exit() to
call these triggers. Sergey, please do it in a separate 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