Releases: tarantool/tt
v2.11.0
Overview
The release supports Tarantool Config Storage in tt cluster failover commands and
introduces templates to create Tarantool Config Storage and non-vshard cluster.
Added
tt create: add template for Tarantool Config Storage.tt create: add template for non-vshard Cluster.tt cluster failover: support Tarantool Config Storage.
Changed
tt cluster failover switch: minor change in output that displays corresponding
switch-statuscommand with quoted URI argument so it could be copy-pasted for
subsequent launch as-is.tt rs vshard bootstrap: make more informative error message when sharding roles
are not configured (for example when launched against non-vshard cluster).
v2.10.1
Overview
The release introduces a fix for the tt logrotate command, which now properly
releases the descriptor of the old log file.
Fixed
tt logrotate: properly release descriptor of the old log file.
v2.10.0
Overview
The release introduces command support for working with Tarantool
Cluster Manager (TCM). Also added support for fish shell autocompletion.
In addition, code verification with pre-commit hooks has been configured.
Added
- In commands
tt cat|play <DIR>added options-r/--recursiveto
allow find WAL files inside nested subdirectories. tt search tcm- the command performs a search for tarantool cluster
manager (TCM) in the customer zone or localdistfilesdirectory.tt install tcm- the command performs an install for tarantool cluster
manager (TCM) from the customer zone or localdistfilesdirectory.tt uninstall tcm [version]- the command removes installed tarantool
cluster manager from thebindirectory.tt tcm status: added command to check TCM runtime status
(modes:watchdogorinteractive).tt tcm stop: add command for graceful termination of TCM processes
(modes:watchdogorinteractive).- Add support manage installed
tcmversions viatt binariesCLI. - Added support for completion with shell
fishsee
the commandtt completion fish. - Repository use
pre-commithooks to check code style. - Added support for showing TCM logs with
tt tcm logcommand.
Changed
tt pack: packs TCM config, if any.
Fixed
- Fixed a crash in
tt aeon connectwhen processing responses
from certain SQL commands. tt cat|play <DIR>with directories handles only.snapor.xlogfiles.rs vshard bootstrap: ignore an error and retry withintimeoutflag
period.packwith modules include only under rootttenvironment directory.
Modules outside of the directory withtt.yamlwill be ignored.tt connect|replicaset|cluster|aeon|play: fixed using of IPv6 in instance URI.
v2.9.1
Overview
The release includes minor fixes identified by Svacer and CVE linters.
v2.9.0
Overview
The release introduces advanced features to connect to the Aeon database
and start tcm commands. Further improvements on packaging the customized
application. Major changes on working with external modules.
Added
-
tt aeon connectadded tests for connect file/app. -
tt modules listadded command to show available modules.
If support extra flags:--version- to show information about version.--path- to show module executables.
-
tt aeon connectadded tests for connect file/app. -
tt aeon connect: add connection from the etcd/tcs config. -
tt pack: support.packignorefile to specify files that should
not be included in package (works the same as.gitignore). -
tt tcm start: add the tcm command. -
tt tcm startORtt tcm start --path /path/to/tcm: added the capability
to run TCM in interactive mode. -
tt tcm start --watchdog: implemented Watchdog mode for automatic
restarting of TCM upon unexpected termination.
Changed
- The following functions were moved from
cluster/cmdtolib/cluster:- CreateCollector → lib/cluster/cluster.go,
- ConnectEtcdUriOpts → lib/cluster/etcd.go,
- DoOnStorage → lib/cluster/etcd.go,
- MakeEtcdOptsFromUriOpts → lib/cluster/etcd.go,
- MakeConnectOptsFromUriOpts → lib/cluster/tarantool.go,
- ConnectTarantool → lib/cluster/tarantool.go.
- Added new submodule
lib/connect.
Fixed
-
tt pack: added TCM packing when executing the tt pack command, except
for the flag without-binaries in this case TCM will not be in the archive. -
Arguments of an internal command are not parsed if it is forced over its
existent external counterpart. -
aeon: fix SSL paths configuration for aeon connection.
-
tt pack rpm: failed to pack if only one of--preinst/--postinst
options is specified.
v2.8.1
Overview
The release introduces minor changes in stabilization of tt connect
command. Expanded possibility to connect to aeon base.
Improvement in the work of templates.
Added
tt aeon connect: add connection from theapp:instance_name.- Added support for the
{{ metricsPort }}construct in Go text templates.
This new function allows template users to generate a monitoring port value
directly within their templates, providing more flexibility and simplifying
configuration management.
Changed
tt connect: allow to disconnect withCtrl+CorCtrl+\if script execution hung.
Fixed
tt connect: return Lua parse error.tt connect: panic on render empty table.ttcan be built without linking to OpenSSL.
v2.8.0
Overview
The release introduces an expanded ways to connect to aeon DB using: configuration file and fixing of using root certificates. TCM binary could be packed with pack subcommand.
Added
tt pack: added TCM file packaging.tt aeon connect: add connection from the cluster config.
Fixed
tt aeon: did not use system CAs by default.
v2.7.0
Overview
The release introduces an experimental support of console for AeonDB and continues to improve tt play command.
Added
tt aeon connect: add support to connect Aeon database.tt play: support of the SSL parameters by using next flags:sslkeyfile- path to a private SSL key file,sslcertfile- path to an SSL certificate file,sslcafile- path to a trusted certificate authorities (CA) file,sslciphers- colon-separated list of SSL cipher suites the connection.
tt play: support connection to a target instance byapplicationname orapplication:instancename.tt coredump pack: add options to customize coredump packing:-e (--executable): specify Tarantool executable path.-p (--pid): specify PID of the dumped process.-t (--time): specify time of dump (seconds since the Epoch).
tt.yaml: allows to specify a list of modules directories.- Environment variable TT_CLI_MODULES_PATH can be used to specify an extra path with modules.
Changed
tt stop/kill/clean/logrotate: no longer need:- Instances scripts for multi-instance applications.
- Cluster config for tarantool3-based cluster applications.
tt logrotate: don't exit at non-running instance, just warn and proceed with the other instances, likett stopandtt killdo.tt coredump pack: if-eoption is omitted first search tarantool executable in tt environment then inPATHinstead of using the hardcoded path/usr/bin/tarantool.tt replicaset downgrade: drop option-v(--version). Pass version as a positional argument rather than option.
Fixed
tt coredump inspect: fails for tarantool-ee coredump archive if the source directory is missing.tt pack: fails ifetcdortcsare present in the configuration and not available.
v2.6.0
Overview
The release introduces upgrade and downgrade subcommands for tt replicaset and adds minor improves to tt cat, tt play and tt connect.
Added
tt replicaset downgrade: command to downgrade the schema on a Tarantool cluster.-v (--version): (required) specify schema version to downgrade to.-r (--replicaset): specify the replicaset name(s) to downgrade.-t (--timeout): timeout for waiting the LSN synchronization (in seconds) (default 5).
tt replicaset upgrade: command to upgrade the schema on a Tarantool cluster.-r (--replicaset): specify the replicaset name(s) to upgrade.-t (--timeout): timeout for waiting the LSN synchronization (in seconds) (default 5).- supports upgrading the database schema on remote cluster by upgrading each replicaset individually using
tt replicaset upgrade <URI>.
- New flag
--timestampoftt catandtt playcommands is added to specify operations ending with the given timestamp. This value can be specified as a number or using RFC3339/RFC3339Nano time format. tt connect: add new--evaleroption to support for customizing the way user input is processed.
Fixed
tt rocks: don't load local configs.
v2.5.2
Overview
Update luarocks and libraries version.
Fixed
tt rocks: a wrong Lua interpreter is selected.