[Tarantool-patches] [PATCH V6 00/10] Extending error functionality

Konstantin Osipov kostja.osipov at gmail.com
Tue Apr 21 22:03:25 MSK 2020


* Kirill Yukhin <kyukhin at tarantool.org> [20/04/20 11:08]:
> > It is still unfinished because of underdesigned traceback
> > feature, because of payload absence. IMO, MP_EXT is also an
> > overkill. Tuples live fine as MP_ARRAY, and they are the most
> > used type. We should have gone for simple MP_MAP, without
> > MP_EXT. Just a map.
> 
> We already broken connectors by introducing UUID (w/ MP_EXT).

UUID change was planned. This was not. UUID is a fundamental data
type. struct error is just an object.

This was a rushed up decision. Better revert it and go back to
MP_MAP.
> > It is worth mentioning separately, how hard it is to use the
> > error marshaling now, because of this session setting. And
> > there still is no way to enable the feature without touching
> > the session, even if all my connectors support it. As I
> > mentioned, enabling it for every session manually is a
> > non-trivial task for a user.
> 
> I guess we can switch it on by default in future releases.
> 
> > But we have releases coming, so lets push all in whatever
> > state it is, of course.
> 
> --
> Regards, Kirill Yukhin

-- 
Konstantin Osipov, Moscow, Russia


More information about the Tarantool-patches mailing list