[Tarantool-patches] [PATCH V4 4/6] error: add session setting for error type marshaling

Konstantin Osipov kostja.osipov at gmail.com
Fri Apr 17 10:35:40 MSK 2020


* Vladislav Shpilevoy <v.shpilevoy at tarantool.org> [20/04/17 10:16]:
> Seems like you are talking about the case when error object is
> thrown as an exception. But the patchset is about being able to
> recognize and decode errors even when they are returned inside
> response body, as a part of IPROTO_OK response type.

Then you think this justifies inventing a custom marshalling
scheme and thus forcing all clients to not just patch the driver
but also patch or even re-implement msgpack library they use? 

Worse yet, with such a huge protocol change you can add complete
marshalling of any object - SQL parse tree, Lua thread along with
all its referenced objects, Lua code and stack data, and what not
-- all very desired for other features, like distributed SQL or 
shipping/executing Lua code close to data.

Worse *yet*, it's quite possible to add all these features without
an MP_EXT. But this doesn't concern you at all. 

So what about an RFC?

-- 
Konstantin Osipov, Moscow, Russia


More information about the Tarantool-patches mailing list