Skip to content

Releases: pingcap/tiup

v1.4.0

31 Mar 08:48

Choose a tag to compare

New Features

  • EXPERIMENTAL: Add support of Apple M1 devices (#1122, @terasum @AstroProfundis @sunxiaoguang)
    • Playground may not fully work as some components don't yet have packages for darwin-arm64 released
  • Not displaying dashboard address if it's "none" or "auto" (#1054, @9547)
  • Support filtering nodes and roles in check subcommand of tiup-cluster (#1030, @AstroProfundis)
  • Support retry of failed operations from where it broke with replay command of tiup-cluster and tiup-dm (#1069 #1157, @lucklove)
  • Support upgrade and patch a stopped TiDB / DM cluster (#1096, @lucklove)
  • Support setting global custom values for topology of tiup-cluster (#1098, @lucklove)
  • Support custom root_url and anonymous login for Grafana in tiup-cluster (#1085, @mianhk)
  • Support remote read and remote write for Prometheus node in tiup-cluster (#1070, @XSHui)
  • Support custom external AlertManager target for Prometheus node in tiup-cluster (#1149, @lucklove)
  • Support force reinstallation of already installed component (#1145, @9547)
  • Add --force and retain data options to tiup-dm (#1080, @9547)
  • Add enable/disable subcommands to tiup-dm (#1114, @9547)
  • Add template subcommand to tiup-cluster to print pre-defined topology templates (#1156, @lucklove)
  • Add --version option to display subcommand of tiup-cluster to print the cluster version (#1207, @AstroProfundis)
  • Allow value type change when editing topology with edit-config subcommand of tiup-cluster (#1050, @AstroProfundis)

Fixes

  • Not allowing deployment if the input topology file is empty (#994, @AstroProfundis)
  • Fix data dir setting for Prometheus (#1040, @9547)
  • Fix the issue that pre-defined Prometheus rules may be missing if a custom rule_dir is set (#1073, @9547)
  • Fix the issue that config files of Prometheus and Grafana are not checked before start (#1074, @9547)
  • Fix the issue that cluster name is not validated for some operations (#1177, @AstroProfundis)
  • Fix the issue that tiup-cluster reloads a cluster even if the config may contain errors (#1183, @9547)
  • Fix the issue that publish command may fail when uploading files without retry (#1174 #1202, @AstroProfundis; #1167, @lucklove)
  • Fix the issue that newly added TiFlash nodes may fail to start during scale-out in tiup-cluster (#1227, @9547)
  • Fix incorrect cluster name in alert messages (#1238, @9547)
  • Fix the issue that blackbox_exporter may not collecting ping metrics correctly (#1250, @STRRL)

Improvements

v1.3.7

25 Mar 03:17

Choose a tag to compare

Fixes

  • Fix the issue that metrics of tiflash-server instance may not collected correctly (#1083, @yuzhibotao)
  • Fix the issue that tiup-cluster disables monitoring services unexpectedly (#1088, @lucklove)
  • Fix wrong dashboard name for lightning in Grafana after renaming a cluster with tiup-cluster (#1196, @9547)
  • Fix the issue that tiup-cluster prune command may try to generate config for removed nodes (#1237, @lucklove)

v1.3.6

19 Mar 11:38

Choose a tag to compare

Fixes

  • Fix the issue that can't deploy arm64 binary with offline mirror (#1229, @lucklove)

v1.3.5

16 Mar 03:08

Choose a tag to compare

Fixes

v1.3.4

05 Mar 11:09

Choose a tag to compare

Fixes

  • Fix the issue that tiup-cluster can't gernerate prometheus config (#1185, @lucklove)
  • Fix the issue that tiup may choose yanked version if it's already installed (#1191, @lucklove)

v1.3.3

04 Mar 12:25

Choose a tag to compare

Fixes

  • Fix the issue that tiup will hang forever when reloading a stopped cluster (#1044, @9547)
  • Fix the issue that tiup mirror merge does not work on official offline package (#1121, @lucklove)
  • Fix the issue that there may be no retry when download component failed (#1137, @lucklove)
  • Fix the issue that PD dashboard does not report grafana address in playground (#1142, @9547)
  • Fix the issue that the default selected version may be a preprelease version (#1128, @lucklove)
  • Fix the issue that the error message is confusing when the patched tar is not correct (#1175, @lucklove)

Improvements

  • Add darwin-arm64 not support hint in install script (#1123, @terasum)
  • Improve playground welcome information for connecting TiDB (#1133, @dveeden)
  • Bind latest stable grafana and prometheus in DM deploying (#1129, @lucklove)
  • Use the advertised host instead of 0.0.0.0 for tiup-playground (#1152, @9547)
  • Check tarball checksum on tiup-server when publish component (#1163, @lucklove)

v1.3.2

28 Jan 10:49

Choose a tag to compare

Fixes

  • Fix the issue that the grafana and alertmanager target not set in prometheus.yaml (#1041, @9547)
  • Fix the issue that grafana deployed by tiup-dm missing home.json (#1056, @lucklove)
  • Fix the issue that the expires of cloned mirror is shourened after publish component to it (#1051, @lucklove)
  • Fix the issue that tiup-cluster may remove wrong paths for imported cluster on scale-in (#1068, @AstroProfundis)
    • Risk of this issue: If an imported cluster has deploy dir ending with /, and sub dirs as <deploy-dir>//sub, it could results to delete wrong paths on scale-in
  • Fix the issue that imported *_exporter has wrong binary path (#1101, @AstroProfundis)

Improvements

  • Apply more strict check on tar.gz file for patch command: check if the entry is an executable file (#1091, @lucklove)

v1.3.1

31 Dec 08:55

Choose a tag to compare

Fixes

  • Workaround the issue that store IDs in PDs may not monotonically assigned (#1011, @AstroProfundis)
    • Currently, the ID allocator is guaranteed not to allocate duplicated IDs, but when PD leader changes multiple times, the IDs may not be monotonic
      • For tiup < v1.2.1, the command tiup cluster display may delete store (without confirm) by mistake due to this issue (high risk)
      • For tiup >= v1.2.1 and <= v1.3.0, the command tiup cluster display may display up stores as tombstone, and encourages the user to delete them with the command tiup cluster prune (medium risk)
  • Fix the issue that the cluster check always fail on thp check even though the thp is disabled (#1005, @lucklove)
  • Fix the issue that the command tiup mirror merge -h outputs wrong usage (#1008, @lucklove)
    • The syntax of this command should be tiup mirror merge <mirror-dir-1> [mirror-dir-N] but it outputs tiup mirror merge <base> <mirror-dir-1> [mirror-dir-N]
  • Fix the issue that prometheus doesn't collect drainer metrics (#1012, @SE-Bin)

Improvements

  • Optimize the scene that the display command waits for a long time ,because the status cannot be obtained in time when network problems occur.(#986, @9547)
  • Cluster and dm component support version input without leading 'v' (#1009, @AstroProfundis)
  • When a user try to clean logs with the command tiup cluster clean --logs,add a warning to explain that we will stop the cluster before clean logs (#1029, @lucklove)

v1.3.0

18 Dec 10:06
edb12b8

Choose a tag to compare

New Features

  • Modify TiFlash's query memory limit from 10GB to 0(unlimited) in playground cluster (#907, @LittleFall)
  • Import configuration into topology meta when migrating a cluster from Ansible (#766, @yuzhibotao)
    • Before, we stored imported ansible config in ansible-imported-configs which is hidden for users, in this release, we merge the configs into meta.yaml so that the user can see the config with the command tiup cluster edit
  • Enhance the tiup mirror command (#860, @lucklove)
    • Support merge two or more mirrors into one
    • Support publish component to local mirror besides remote mirror
    • Support add component owner to local mirror
  • Partially support deploy cluster with hostname besides ip address (EXPERIMENTAL) (#948,#949, @fln)
    • Not usable for production, as there would be issue if a hostname resolves to a new IP address after deployment
  • Support setting custom timeout for waiting instances up in playground-cluster (#968, @unbyte)
  • Support check and disable THP in tiup cluster check (#964, @anywhy)
  • Support sign remote manifest and rotate root.json (#967, @lucklove)

Fixes

  • Fixed the issue that the public key created by TiUP was not removed after the cluster was destroyed (#910, @9547)
  • Fix the issue that user defined grafana username and password not imported from tidb-ansible cluster correctly (#937, @AstroProfundis)
  • Fix the issue that playground cluster not quiting components with correct order: TiDB -> TiKV -> PD (#933, @unbyte)
  • Fix the issue that TiKV reports wrong advertise address when --status-addr is set to a wildcard address like 0.0.0.0 (#951, @lucklove)
  • Fix the issue that Prometheus doesn't reload target after scale-in action (#958, @9547)
  • Fix the issue that the config file for TiFlash missing in playground cluster (#969, @unbyte)
  • Fix Tilfash startup failed without stderr output when numa is enabled but numactl cannot be found (#984, @lucklove)
  • Fix the issue that the deployment environment fail to copy config file when zsh is configured (#982, @9547)

Improvements

  • Enable memory buddyinfo monitoring on node_exporter to collect exposes statistics of memory fragments (#904, @9547)
  • Move error logs dumped by tiup-dm and tiup-cluster to ${TIUP_HOME}/logs (#908, @9547)
  • Allow run pure TiKV (without TiDB) cluster in playground cluster (#926, @sticnarf)
  • Add confirm stage for upgrade action (#963, @Win-Man)
  • Omit debug log from console output in tiup-cluster (#977, @AstroProfundis)
  • Prompt list of paths to be deleted before processing in the clean action of tiup-cluster (#981, #993, @AstroProfundis)
  • Make error message of monitor port conflict more readable (#966, @JaySon-Huang)

v1.2.5

27 Nov 09:31

Choose a tag to compare

Fixes

  • Fix the issue that can't operate the cluster which have tispark workers without tispark master (#924, @AstroProfundis)
    • Root cause: once the tispark master been removed from the cluster, any later action will be reject by TiUP
    • Fix: make it possible for broken clusters to fix no tispark master error by scaling out a new tispark master node
  • Fix the issue that it report pump node id not found while drainer node id not found (#925, @lucklove)

Improvements

  • Support deploy TiFlash on multi-disks with "storage" configurations since v4.0.9 (#931, #938, @JaySon-Huang)
  • Check duplicated pd_servers.name in the topology before truly deploy the cluster (#922, @anywhy)