[Tarantool-patches] [PATCH 00/16] Cord buffer, static alloc, and Lua GC bug
Konstantin Osipov
kostja.osipov at gmail.com
Mon Mar 22 10:56:59 MSK 2021
* Vladislav Shpilevoy via Tarantool-patches <tarantool-patches at dev.tarantool.org> [21/03/22 10:02]:
> The patch attempts to fix most of the easy to face issues with the global
> resources not having proper ownership in Lua code and therefore not protected
> again being suddenly reused during Lua GC.
The policy has always been to know what you're doing in gc
handlers. Not use shared resources in particular. Not yield. Not
try to grab new resources. This is why, specifically, on_shutdown
triggers weren't implemented - it's impossible to make them both
generic and safe.
While this series perhaps won't harm, I doubt they will help much
if the user is a rookie.
--
Konstantin Osipov, Moscow, Russia
More information about the Tarantool-patches
mailing list