[Tarantool-patches] [PATCH 00/14] RFC: module api: extend for external key_def Lua module
Alexander Turenko
alexander.turenko at tarantool.org
Mon Oct 5 10:26:32 MSK 2020
> What also worries me: I found that actual behaviour of luaT_tuple_new()
> is different from what I expected in the past: it may raise an error
> when serialization fails. I didn't expect this, so I'll look how much it
> may affect key_def and merger modules (built-in and external ones). For
> now I just described the actual contract in the API comments for
> luaT_tuple_new() and luaT_tuple_encode().
I looked at usages of the function and found leaks and inconsistences
caused by raising a Lua error from luaT_tuple_new(). Filed issue:
https://github.com/tarantool/tarantool/issues/5382
So it should be resolved before exposing the function to the module API.
I'll do.
WBR, Alexander Turenko.
More information about the Tarantool-patches
mailing list