TiDB Operator 1.0.1 Release Notes
TiDB Operator version: 1.0.1
- ACTION REQUIRED: We fixed a serious bug (#878) that could cause all and
TiKV
pods to be accidentally deleted whenkube-apiserver
fails. This would cause TiDB service outage. So if you are usingv1.0.0
or prior versions, you must upgrade tov1.0.1
. - ACTION REQUIRED: The backup tool image uses a forked version of Mydumper. The current version
pingcap/tidb-cloud-backup:20190610
contains a serious bug that could result in a missing column in the exported data. This is fixed in . 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:201908028
and do a new full backup to avoid potential data inconsistency.
- Modularize GCP Terraform
- Add a script to remove orphaned k8s disks
- Support
binlog.pump.config
,binlog.drainer.config
configurations for Pump and Drainer - Set the resource limit for the
tidb-backup
job - Add
affinity
to Pump and Drainer configurations - Upgrade local-volume-provisioner to
v2.3.2
- Reduce e2e run time from
60m
to - Prevent the Pump process from exiting with
0
if the Pump becomesoffline
- Support expanding cloud storage PV dynamically by increasing PVC storage size
- Add the
tikvGCLifeTime
option to do backup - Add important parameters to
tikv.config
andtidb.config
invalues.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.permitHost
chart - Update the default backup image to
pingcap/tidb-cloud-backup:20190828
- 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
StatefulSet
partition - Fix ad-hoc full backup failure due to incorrect
claimName
- Fix the offline Pump: the Pump process will exit with
0
if going offline - Fix an incorrect condition judgment
Detailed Bug Fixes and Changes
- Clean up
tidb.pingcap.com/pod-scheduling
annotation when the pod is scheduled () - Update tidb-cloud-backup image tag (#846)
- Add the TiDB permit host option ()
- Add the zone label and reserved resources for nodes (#871)
- Fix some orphan pods cleaner bugs ()
- Fix the bug of setting the partition (#830)
- Add the
tikvGCLifeTime
option () - Add recommendations options to Mydumper (#828)
- Fix ad-hoc full backup failure due to incorrect
claimName
() - Improve
tkctl get
command output (#822) - Add important parameters to TiKV and TiDB configurations ()
- Fix the issue that
binlog.drainer.config
is not supported in v1.0.0 (#775) - Support restoring the TiDB cluster from a specified scheduled backup directory ()
- Fix
extraLabels
description invalues.yaml
(#763) - Add a script to remove orphaned K8s disks ()
- Enable cloud storage volume expansion & label local volume (#772)
- Prevent the Pump process from exiting with
0
if the Pump becomesoffline
() - Modularize GCP Terraform (#717)
- Support
binlog.pump.config
configurations for Pump and Drainer () - Remove duplicate key values (#758)
- Fix some typos ()
- Extend the waiting time of the
CheckManualPauseTiDB
process (#752) - Set the resource limit for the
tidb-backup
job () - Fix e2e test compatible with v1.0.0 (#757)
- Make incremental backup test work ()
- Add retry logic for
LabelNodes
function (#735) - Fix the TiKV scale-in failure in some cases ()
- Add affinity to Pump and Drainer (#741)
- Refine cleanup logic ()
- Inject a failure by pod annotation (#716)
- Update README links to point to correct URLs for English and Chinese ()
- Document and improve HA algorithm (#670)
- Fix an incorrect condition judgment ()
- Upgrade local-volume-provisioner to v2.3.2 (#696)
- Reduce e2e test run time ()
- Fix Terraform GKE scale-out issues (#711)
- Update documents ()