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
Two new options can now be passed to net.box.connect():
required_protocol_version: min IPROTO protocol version that must be
supported by the server. Type: unsigned integer.
required_protocol_features: array of IPROTO protocol features that
must be supported by the server. Type: array of strings.
If the server version is less than the specified or the server lacks
certain features, the connection will fail with the corresponding error.
Querying server features is implemented via the IPROTO_ID command.
Currently, there are two features defined: streams and transactions.
Irrespective of the options used, the actual version and features are
reported via peer_protocol_version and peer_protocol_features fields of
the connection. Example:
xuniq
added
feature
A new functionality
reference
[location] Tarantool manual, Reference part
server
[area] Task relates to Tarantool's server (core) functionality
labels
Dec 9, 2021
xuniq
changed the title
Document required_protocol_version/features net.box options
[2pt?] Document required_protocol_version/features net.box options
Dec 9, 2021
xuniq
changed the title
[2pt?] Document required_protocol_version/features net.box options
[3pt] Document required_protocol_version/features net.box options
Dec 10, 2021
Product: Tarantool
Root document: https://www.tarantool.io/en/doc/latest/reference/reference_lua/net_box/
SME: @ locker
Peer reviewer: @
Details
Two new options can now be passed to
net.box.connect(
):supported by the server. Type: unsigned integer.
must be supported by the server. Type: array of strings.
If the server version is less than the specified or the server lacks
certain features, the connection will fail with the corresponding error.
Querying server features is implemented via the IPROTO_ID command.
Currently, there are two features defined: streams and transactions.
Irrespective of the options used, the actual version and features are
reported via peer_protocol_version and peer_protocol_features fields of
the connection. Example:
Requested by @locker in tarantool/tarantool@47a85f9
The text was updated successfully, but these errors were encountered: