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
The iproto.listen config option is now an array, and its elements are records that can only have a required uri field and an optional params field.
The uri field is of type string and must be a single valid URI. The
URI cannot contain parameters, login and password.
The params field is a record with the fields transport, ssl_ca_file, ssl_cert_file, ssl_ciphers, ssl_key_file, ssl_password, ssl_password_file. The transport field can have one
of two values: plain or ssl, the default is plain. If transport
is set to plain, no additional fields are required. When transport
is set to ssl, the fields ssl_key_file and ssl_cert_file are
required, and the remaining fields are optional.
The iproto.advertise.peer and iproto.advertise.sharding now have the
following format:
The iproto.advertise.peer and iproto.advertise.sharding are now records. All of their fields are optional, however, if the params
field can be set only if the uri field is set and the password field
can be set only if the login field is set.
The uri field is of type string and must be a single valid URI.
The URI cannot contain parameters, login and password. If the uri and params fields are missing, the appropriate iproto.listen element is
selected. An element is eligible if, after parsing its url field using require('uri').parse(), the ipv4 result field is not equal to '0.0.0.0', the ipv6 result field is not equal to '::', and the service result field is not equal to '0'.
Related dev. issue(s): tarantool/tarantool#9385
Related doc. issue(s): #3665, https://github.com/tarantool/enterprise_doc/issues/225
Product: Tarantool
Since: 3.0
Root document:
SME: @ totktonada, @ ImeevMA
Details
The config options
iproto.listen
,iproto.advertise.peer
andiproto.advertise.sharding
now have a new format.The
iproto.listen
config option now has the following format:The
iproto.listen
config option is now an array, and its elements arerecords
that can only have a requireduri
field and an optionalparams
field.The
uri
field is of typestring
and must be a single valid URI. TheURI cannot contain parameters, login and password.
The
params
field is arecord
with the fieldstransport
,ssl_ca_file
,ssl_cert_file
,ssl_ciphers
,ssl_key_file
,ssl_password
,ssl_password_file
. Thetransport
field can have oneof two values:
plain
orssl
, the default isplain
. Iftransport
is set to
plain
, no additional fields are required. Whentransport
is set to
ssl
, the fieldsssl_key_file
andssl_cert_file
arerequired, and the remaining fields are optional.
The
iproto.advertise.peer
andiproto.advertise.sharding
now have thefollowing format:
The
iproto.advertise.peer
andiproto.advertise.sharding
are nowrecords
. All of their fields are optional, however, if theparams
field can be set only if the
uri
field is set and thepassword
fieldcan be set only if the
login
field is set.The
uri
field is of typestring
and must be a single valid URI.The URI cannot contain parameters, login and password. If the
uri
andparams
fields are missing, the appropriateiproto.listen
element isselected. An element is eligible if, after parsing its
url
field usingrequire('uri').parse()
, theipv4
result field is not equal to'0.0.0.0'
, theipv6
result field is not equal to'::'
, and theservice
result field is not equal to'0'
.The
login
andpassword
fields are of typestring
.For description of the
params
field see description ofiproto.listen
.Requested by @ImeevMA in tarantool/tarantool@1247f47.
The text was updated successfully, but these errors were encountered: