Skip to content

Releases: tarantool/tt

v2.10.0

10 Jun 11:38
Compare
Choose a tag to compare

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/--recursive to
    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 local distfiles directory.
  • tt install tcm - the command performs an install for tarantool cluster
    manager (TCM) from the customer zone or local distfiles directory.
  • tt uninstall tcm [version] - the command removes installed tarantool
    cluster manager from the bin directory.
  • tt tcm status: added command to check TCM runtime status
    (modes: watchdog or interactive).
  • tt tcm stop: add command for graceful termination of TCM processes
    (modes: watchdog or interactive).
  • Add support manage installed tcm versions via tt binaries CLI.
  • Added support for completion with shell fish see
    the command tt completion fish.
  • Repository use pre-commit hooks to check code style.
  • Added support for showing TCM logs with tt tcm log command.

Changed

  • tt pack: packs TCM config, if any.

Fixed

  • Fixed a crash in tt aeon connect when processing responses
    from certain SQL commands.
  • tt cat|play <DIR> with directories handles only .snap or .xlog files.
  • rs vshard bootstrap: ignore an error and retry within timeout flag
    period.
  • pack with modules include only under root tt environment directory.
    Modules outside of the directory with tt.yaml will be ignored.
  • tt connect|replicaset|cluster|aeon|play: fixed using of IPv6 in instance URI.

v2.9.1

15 Apr 18:33
Compare
Choose a tag to compare

Overview

The release includes minor fixes identified by Svacer and CVE linters.

v2.9.0

11 Apr 08:47
Compare
Choose a tag to compare

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 connect added tests for connect file/app.

  • tt modules list added command to show available modules.
    If support extra flags:

    • --version - to show information about version.
    • --path - to show module executables.
  • tt aeon connect added tests for connect file/app.

  • tt aeon connect: add connection from the etcd/tcs config.

  • tt pack : support .packignore file to specify files that should
    not be included in package (works the same as .gitignore).

  • tt tcm start: add the tcm command.

  • tt tcm start OR tt 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/cmd to lib/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

11 Mar 19:49
Compare
Choose a tag to compare

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 the app: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 with Ctrl+C or Ctrl+\ if script execution hung.

Fixed

  • tt connect: return Lua parse error.
  • tt connect: panic on render empty table.
  • tt can be built without linking to OpenSSL.

v2.8.0

19 Feb 16:05
Compare
Choose a tag to compare

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

22 Jan 12:59
Compare
Choose a tag to compare

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 by application name or application:instance name.
  • 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, like tt stop and tt kill do.
  • tt coredump pack: if -e option is omitted first search tarantool executable in tt environment then in PATH instead 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 if etcd or tcs are present in the configuration and not available.

v2.6.0

29 Nov 10:57
Compare
Choose a tag to compare

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 --timestamp of tt cat and tt play commands 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 --evaler option to support for customizing the way user input is processed.

Fixed

  • tt rocks: don't load local configs.

v2.5.2

07 Nov 12:38
Compare
Choose a tag to compare

Overview

Update luarocks and libraries version.

Fixed

  • tt rocks: a wrong Lua interpreter is selected.

v2.5.1

31 Oct 14:17
Compare
Choose a tag to compare

Overview

Small fixes and update MessagePack library.

Fixed

  • Release packages were built using the outdated and buggy MessagePack library.

v2.5.0

16 Oct 15:26
Compare
Choose a tag to compare

Overview

Added a number of subcommands for replicaset roles, improved understanding of the version number to install, enhanced status display, and added a flag to disable interactivity when the application is stopped.
Implemented a number of fixes to improve stability.

Added

  • tt status: display config, box, and replication upstream statuses.
    • --details: display detailed reports of errors and warnings from instances.
  • tt stop confirmation prompt. -y option is added to accept stop without prompting.
  • tt cluster replicaset roles add: command to add roles in config scope provided by flags.
  • tt cluster replicaset roles remove: command to remove from config scope provided by flags.
  • tt replicaset roles add: command to add roles in the tarantool replicaset with cluster config (3.0) or cartridge orchestrator.
  • tt replicaset roles remove: command to remove roles in the tarantool replicaset with cluster config (3.0) or cartridge orchestrator.
  • tt install tt|tarantool <version> - allow <version> be incomplete. So 2.3 will install the the last available release with specified <major=2>.<minor=3> in <version>.

Fixed

  • Command \set delimiter [marker] works correctly and don't hangs tt console.
  • tt log -f crash on removing log directory.
  • tt connect crash due to an empty response.
  • tt start error on start Tarantool 3 with encrypted etcd.
  • tt replicaset vshard bootstrap unable to bootstrap large clusters due to a timeout.
  • tt replicaset vshard bootstrap timeout was 3s instead of 10s.