Releases: pingcap/tiup
Releases · pingcap/tiup
v1.4.0
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-arm64released
- Playground may not fully work as some components don't yet have packages for
- Not displaying dashboard address if it's "none" or "auto" (#1054, @9547)
- Support filtering nodes and roles in
checksubcommand of tiup-cluster (#1030, @AstroProfundis) - Support retry of failed operations from where it broke with
replaycommand 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_urland 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
--forceand retain data options to tiup-dm (#1080, @9547) - Add
enable/disablesubcommands to tiup-dm (#1114, @9547) - Add
templatesubcommand to tiup-cluster to print pre-defined topology templates (#1156, @lucklove) - Add
--versionoption todisplaysubcommand of tiup-cluster to print the cluster version (#1207, @AstroProfundis) - Allow value type change when editing topology with
edit-configsubcommand 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_diris 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
publishcommand 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-outin 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
- Reduce jitter during upgrade process of TiDB cluster
- Make sure PD node is online and serving before upgrading the next one (#1032, @HunDunDM)
- Upgrade PD leader node after upgrading other PD nodes (#1086, @AstroProfundis)
- Increase schedule limit during upgrade of TiKV nodes (#1661, @AstroProfundis)
- Add check to validate if all regions are healthy (#1126, @AstroProfundis)
- Only reload Prometheus configs when needed (#989, @9547)
- Show default option on prompted input messages (#1132 #1134, @wangbinhe3db)
- Include user's input in error message if prompted challenge didn't pass (#1104, @AstroProfundis)
- Check for
data_dirandlog_diroverlap before deploying a cluster (#1093, @9547) - Improve checking rules in
tiup cluster checkcommand (#1099 #1107, @AstroProfundis; #1118 #1124, @9547) - Refine
listanddisplaycommand for tiup-cluster (#1139, @baurine) - Mark patched nodes in
displayoutput of tiup-cluster and tiup-dm (#1125, @AstroProfundis) - Ignore
users.*settings for TiFlash if the cluster version is later than v4.0.12 and v5.0.0-rc (#1211, @JaySon-Huang) - Cache
timestampmanifest in memory to reduce network requests (#1212, @lucklove) - Upgrade toolchain to Go 1.16 (#1151 #1153 #1130, @AstroProfundis)
- Use GitHub Actions to build and release TiUP components (#1158, @AstroProfundis)
- Remove deprecated
v0manifestsupport, TiUP version before v1.0.0 may not be able to download latest packages anymore (#906)
v1.3.7
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
prunecommand may try to generate config for removed nodes (#1237, @lucklove)
v1.3.6
v1.3.5
v1.3.4
v1.3.3
Fixes
- Fix the issue that tiup will hang forever when reloading a stopped cluster (#1044, @9547)
- Fix the issue that
tiup mirror mergedoes 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
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
- Risk of this issue: If an imported cluster has deploy dir ending with
- Fix the issue that imported
*_exporterhas wrong binary path (#1101, @AstroProfundis)
Improvements
v1.3.1
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 displaymay 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 displaymay displayupstores astombstone, and encourages the user to delete them with the commandtiup cluster prune(medium risk)
- For tiup < v1.2.1, the command
- Currently, the ID allocator is guaranteed not to allocate duplicated IDs, but when PD leader changes multiple times, the IDs may not be monotonic
- Fix the issue that the
cluster checkalways fail on thp check even though the thp is disabled (#1005, @lucklove) - Fix the issue that the command
tiup mirror merge -houtputs wrong usage (#1008, @lucklove)- The syntax of this command should be
tiup mirror merge <mirror-dir-1> [mirror-dir-N]but it outputstiup mirror merge <base> <mirror-dir-1> [mirror-dir-N]
- The syntax of this command should be
- 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
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
- 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
- Enhance the
tiup mirrorcommand (#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-addris set to a wildcard address like0.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
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 foundwhile 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)