Skip to content

Tags: tarantool/tt

Tags

v2.9.1

Toggle v2.9.1's commit message
Release v2.9.1

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

v2.9.0

Toggle v2.9.0's commit message
Release v2.9.0

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

Toggle v2.8.1's commit message
Release v2.8.1

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

Toggle v2.8.0's commit message
Release v2.8.0

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

Toggle v2.7.0's commit message
Release 2.7.0

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

Toggle v2.6.0's commit message
Release 2.6.0

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](https://go.dev/src/time/format.go) 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

Toggle v2.5.2's commit message
Release v2.5.2

Update luarocks and libraries version.

Fixed
- `tt rocks`: a wrong Lua interpreter is selected.

v2.5.1

Toggle v2.5.1's commit message
Release v2.5.1

Small fixes and update MessagePack library.

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

v2.5.0

Toggle v2.5.0's commit message
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 replicaset roles remove`: command to remove roles in the tarantool replicaset with cluster
  config (3.0) or cartridge orchestrator.
- `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.

v2.4.0

Toggle v2.4.0's commit message
### Added

- `tt log`: a module for viewing instances logs. Supported options:
  * `--lines` number of lines to print.
  * `--follow` print appended data as log files grow.
- `tt connect`: support format for Tarantool tuples for Tarantool
  versions >= 3.2.
- `tt enable`: create a symbolic link in 'instances_enabled' directory to a script or
  an application directory.
- `tt replicaset bootstrap`: command to bootstrap a Cartridge cluster or an instance.
- `tt rs rebootstrap`: re-bootstraps an instance.
- `-s (--self)` flag to execute `tt` itself and don't search for other `tt`s in bin_dir
  provided in config.
- `tt start` interactive mode with `-i` option.

### Fixed

- Sorted by name order of columns for `table` and `ttable` formats.
- `tt switch tt`: does not work with `x.x.x` version format.
- `tt install tt` returns expected exit status code on unsuccessful dependency check.
- `tt pack`: failed to start instances using systemctl due to `permissions denied`.
- `tt uninstall tt`: does not work with `x.y.z` version format.
- Ability to update a latest version of `master` tarantool and tt with `tt install`.

### Changed

- Do not create Dockerfile.* in application's directory.