You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A new feature bit for the IPROTO_ID command was added:
IPROTO_FEATURE_ERROR_EXTENSION = 2
The protocol version was incremented - now it equals 2.
If a network client sets this bit, errors returned by CALL/EVAL will be
encoded as the MP_ERROR MsgPack extension (unless disabled globally by
msgpack.cfg.encode_error_as_ext). If the bit is unset, errors will be
encoded according to the serialization rules used for generic cdata
objects (converted to strings by default).
The built-in net.box connector sets this feature bit.
The server sets this feature bit if it supports the MP_ERROR MsgPack
extension so a net.box client can explicitly request the feature upon
connecting to a server:
Resolves#1662Resolves#2422Resolves#2442Resolves#2467Resolves#2526
Part of #2416
* Split the Binary protocol page into several sections
* Move examples to How-to
* Correct the description of the greeting
Resolves#2467
* Elaborate on IPROTO_OPS and the different uses of IPROTO_TUPLE
* Provide missing info on keys
* Clarify Replication items in terms of whether they are a request,
response, map, key, etc. Groom the structure accordingly
* Add PROMOTE and DEMOTE descriptions
* Bring all SQL-related info into one document
* Clarify that IPROTO_REQUEST_TYPE is used in requests and responses alike
* Improve formatting
* Add tables for uniformity
* Add UML diagram illustrations in the SVG format
Co-authored-by: Kseniia Antonova <[email protected]>
Co-authored-by: Serge Petrenko <[email protected]>
veod32
changed the title
[3pt] Document IPROTO_FEATURE_ERROR_EXTENSION
Document IPROTO_FEATURE_ERROR_EXTENSION
Mar 6, 2023
Product: Tarantool
Since: 2.10.0-beta2
Audience/target: developers
Root document: https://www.tarantool.io/en/doc/latest/dev_guide/internals/box_protocol/
SME:* @ locker
Details
A new feature bit for the IPROTO_ID command was added:
The protocol version was incremented - now it equals 2.
If a network client sets this bit, errors returned by CALL/EVAL will be
encoded as the MP_ERROR MsgPack extension (unless disabled globally by
msgpack.cfg.encode_error_as_ext). If the bit is unset, errors will be
encoded according to the serialization rules used for generic cdata
objects (converted to strings by default).
The built-in net.box connector sets this feature bit.
The server sets this feature bit if it supports the MP_ERROR MsgPack
extension so a net.box client can explicitly request the feature upon
connecting to a server:
Requested by @locker in tarantool/tarantool@342f601
The text was updated successfully, but these errors were encountered: