Skip to content

2.7.3

Compare
Choose a tag to compare
@yngvar-antonsson yngvar-antonsson released this 27 Oct 15:20
· 449 commits to master since this release
6e6d018

[2.7.3] - 2021-10-27

Changed

  • Disabled role's validate_config is not called during config validation.

  • Update @tarantool.io/ui-kit and frontend-core dependencies to support the new design style.
    image

[2.7.2] - 2021-10-08

Added

  • 'Make all instances writeable' configuration field can be hidden via frontend-core's set_variable feature or at runtime.

  • New get_issues callback in role API to collect user-defined issues. The issues are gathered from the enabled roles only (which are present in service-registry).

  • Allow disabling built-in HTTP "admin" user:

    • by specifying auth_builtin_admin_enabled: false in the instances.yml;
    • using TARANTOOL_AUTH_BUILTIN_ADMIN_ENABLED=false environment variable;
    • permanently in init.lua:
-- init.lua

require('cartridge.auth-backend').set_builtin_admin_enabled(false)
cartridge.cfg({
    auth_backend_name = 'cartridge.auth-backend',
    ...
})

Changed

  • Make built-in HTTP "admin" user a part of default auth backend. Custom backends are free of it now.

Fixed

  • Eliminate unnecessary transactions after the restart before the replication sync. This reduces the chance the hardware restart leads to WAL corruption (#1546).

  • Fix net.box clients compatibility with future tarantool 2.10 versions.

  • Fix vshard rebalancer broken by roles reload.

[2.7.1] - 2021-08-10

Fixed

  • Update errors dependency to 2.2.1 (Fix compatibility with Tarantool 2.9).

[2.7.0] - 2021-08-10

Added

  • New suggestion to restart replication. Whenever the replication isn't running and the reason isn't in the dead upstream, Cartridge will show the corresponding banner in WebUI.
    image

  • More server details in WebUI: membership, vshard-router, and vshard-storage.

  • Roles are stopped with the on_shutdown trigger where it's supported (in Tarantool 2.8+).

  • New cartridge.cfg options:

    • webui_prefix (default: "") allows to modify WebUI routes.
    • webui_enforce_root_redirect (default: true) manage redirection.

    To sum up, now they look as follows:

    • <PREFIX>/admin/;
    • <PREFIX>/admin/api;
    • <PREFIX>/admin/config;
    • <PREFIX>/admin/cluster/*;
    • <PREFIX>/static/*;
    • <PREFIX>/login;
    • <PREFIX>/logout;
    • / and <PREFIX>/ redirect to /<PREFIX>/admin (if enabled).
  • Support rebalancer_max_sending vshard option.

  • New validate_config method in GraphQL API.

  • Add zone and zone_distances parameters to test helpers.

Changed

  • Merge "Schema" and "Code" pages. Also, allow validating all files, not only the schema.yml.

  • Allow expelling a leader. Cartridge will appoint a new leader according to the failover priority from the topology.

  • Add default pool.map_call timeout 10 seconds.

  • Forbid starting an instance absent in instances.yml.

  • Update errors dependency to 2.2.0 with a new method errors.netbox_wait_async to wait for netbox.future result.

  • Update membership dependency to 2.4.0 (Changelog).

  • Update ddl dependency to 1.5.0 which supplements the clusterwide config with an example schema (Changelog).

  • Update vshard to 0.1.18 ([Changelog](<https://github.com/tarantool/vshard/releases/tag/0.1.18)).

Fixed

  • Leaders replaced during stateful failover can be expelled now.

  • Make failover logging more verbose.

  • Fix hot-reload for roles that leave gaps in httpd routes.

  • Check user e-mail uniqueness when editing.

  • Expelled instances are removed from the _cluster space.

  • Fix get_enabled_roles to work w/o arguments.

  • Don't default to syslog driver unless /dev/log or /var/run/syslog are available.

  • Fix inappropriate consistency timeout that led to "Timed out" error during forceful leader promotion.

  • Support automatic parsing of Tarantool Enterprise box options audit_log and audit_nonblock.

  • Instance won't suspect any members during RecoveringSnapshot and BootstrappingBox.

Enhanced in WebUI

  • Allow to blacklist subpages for complex modules.

  • Fix notifications displaying. Close it by clicking anywhere. Keep it open while the mouse is over.

  • Various styles enhancements.