TiDB Operator 1.0.1 Release Notes
Release date: September 17, 2019
TiDB Operator version: 1.0.1
v1.0.1 What's New
Action Required
- ACTION REQUIRED: We fixed a serious bug (#878) that could cause all
PDandTiKVpods to be accidentally deleted whenkube-apiserverfails. This would cause TiDB service outage. So if you are usingv1.0.0or prior versions, you must upgrade tov1.0.1. - ACTION REQUIRED: The backup tool image pingcap/tidb-cloud-backup uses a forked version of
Mydumper. The current versionpingcap/tidb-cloud-backup:20190610contains a serious bug that could result in a missing column in the exported data. This is fixed in #29. And the default image used now contains this fixed version. So if you are using the old version image for backup, you must upgrade to usepingcap/tidb-cloud-backup:201908028and do a new full backup to avoid potential data inconsistency.
Improvements
- Modularize GCP Terraform
- Add a script to remove orphaned k8s disks
- Support
binlog.pump.config,binlog.drainer.configconfigurations for Pump and Drainer - Set the resource limit for the
tidb-backupjob - Add
affinityto Pump and Drainer configurations - Upgrade local-volume-provisioner to
v2.3.2 - Reduce e2e run time from
60mto20m - Prevent the Pump process from exiting with
0if the Pump becomesoffline - Support expanding cloud storage PV dynamically by increasing PVC storage size
- Add the
tikvGCLifeTimeoption to do backup - Add important parameters to
tikv.configandtidb.configinvalues.yaml - Support restoring the TiDB cluster from a specified scheduled backup directory
- Enable cloud storage volume expansion & label local volume
- Document and improve HA algorithm
- Support specifying the permit host in the
values.tidb.permitHostchart - Add the zone label and reserved resources arguments to kubelet
- Update the default backup image to
pingcap/tidb-cloud-backup:20190828
Bug Fixes
- Fix the TiKV scale-in failure in some cases after the TiKV failover
- Fix error handling for UpdateService
- Fix some orphan pods cleaner bugs
- Fix the bug of setting the
StatefulSetpartition - Fix ad-hoc full backup failure due to incorrect
claimName - Fix the offline Pump: the Pump process will exit with
0if going offline - Fix an incorrect condition judgment
Detailed Bug Fixes and Changes
- Clean up
tidb.pingcap.com/pod-schedulingannotation when the pod is scheduled (#790) - Update tidb-cloud-backup image tag (#846)
- Add the TiDB permit host option (#779)
- Add the zone label and reserved resources for nodes (#871)
- Fix some orphan pods cleaner bugs (#878)
- Fix the bug of setting the
StatefulSetpartition (#830) - Add the
tikvGCLifeTimeoption (#835) - Add recommendations options to Mydumper (#828)
- Fix ad-hoc full backup failure due to incorrect
claimName(#836) - Improve
tkctl getcommand output (#822) - Add important parameters to TiKV and TiDB configurations (#786)
- Fix the issue that
binlog.drainer.configis not supported in v1.0.0 (#775) - Support restoring the TiDB cluster from a specified scheduled backup directory (#804)
- Fix
extraLabelsdescription invalues.yaml(#763) - Fix tkctl log output exception (#797)
- Add a script to remove orphaned K8s disks (#745)
- Enable cloud storage volume expansion & label local volume (#772)
- Prevent the Pump process from exiting with
0if the Pump becomesoffline(#769) - Modularize GCP Terraform (#717)
- Support
binlog.pump.configconfigurations for Pump and Drainer (#693) - Remove duplicate key values (#758)
- Fix some typos (#738)
- Extend the waiting time of the
CheckManualPauseTiDBprocess (#752) - Set the resource limit for the
tidb-backupjob (#729) - Fix e2e test compatible with v1.0.0 (#757)
- Make incremental backup test work (#764)
- Add retry logic for
LabelNodesfunction (#735) - Fix the TiKV scale-in failure in some cases (#726)
- Add affinity to Pump and Drainer (#741)
- Refine cleanup logic (#719)
- Inject a failure by pod annotation (#716)
- Update README links to point to correct
pingcap.com/docsURLs for English and Chinese (#732) - Document and improve HA algorithm (#670)
- Fix an incorrect condition judgment (#718)
- Upgrade local-volume-provisioner to v2.3.2 (#696)
- Reduce e2e test run time (#713)
- Fix Terraform GKE scale-out issues (#711)
- Update wording and fix format for v1.0.0 (#709)
- Update documents (#705)