Tags: tarantool/tt
Tags
Release v2.10.0 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.
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.
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.
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.
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.
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.
PreviousNext