From 94e36ea912082ea98d92a2291f08a1623e1133ae Mon Sep 17 00:00:00 2001 From: DanielZhangQD Date: Thu, 20 Aug 2020 13:31:16 +0800 Subject: [PATCH 1/3] add release notes for v1.1.4 and update operator versions --- CHANGELOG-1.1.md | 18 ++++++++++++++++++ charts/tidb-cluster/values.yaml | 2 +- charts/tidb-operator/values.yaml | 4 ++-- deploy/aliyun/variables.tf | 2 +- deploy/aws/variables.tf | 2 +- deploy/gcp/variables.tf | 2 +- 6 files changed, 24 insertions(+), 6 deletions(-) diff --git a/CHANGELOG-1.1.md b/CHANGELOG-1.1.md index f353759a099..0e7c0e80766 100644 --- a/CHANGELOG-1.1.md +++ b/CHANGELOG-1.1.md @@ -1,3 +1,21 @@ +# TiDB Operator v1.1.4 Release Notes + +## Notable changes + +- `TableFilter` is added to the `BackupSpec` and `RestoreSpec`, which supports backup specific database or table with Dumpling or BR and supports restore specific database or table with BR. + `BackupSpec.Dumpling.TableFilter` is deprecated from v1.1.4 and please configure `BackupSpec.TableFilter`. + From TiDB v4.0.3, you can configure `BackupSpec.TableFilter` to replace the `BackupSpec.BR.DB` and `BackupSpec.BR.Table` fields and configure `RestoreSpec.TableFilter` to replace the `RestoreSpec.BR.DB` and `RestoreSpec.BR.Table` fields ([#3134](https://github.com/pingcap/tidb-operator/pull/3134), [@sstubbs](https://github.com/sstubbs)) +- Update TiDB and tools version to v4.0.4 ([#3135](https://github.com/pingcap/tidb-operator/pull/3135), [@lichunzhu](https://github.com/lichunzhu)) +- Support customizing environment variables for the initializer container in the TidbMonitor CR ([#3109](https://github.com/pingcap/tidb-operator/pull/3109), [@kolbe](https://github.com/kolbe)) +- Support patching PVCs when the storage request is increased ([#3096](https://github.com/pingcap/tidb-operator/pull/3096), [@cofyc](https://github.com/cofyc)) +- Support TLS for Backup&Restore with Dumpling&Lightning ([#3100](https://github.com/pingcap/tidb-operator/pull/3100), [@lichunzhu](https://github.com/lichunzhu)) +- Support cert-allowed-cn for TiFlash ([#3101](https://github.com/pingcap/tidb-operator/pull/3101), [@DanielZhangQD](https://github.com/DanielZhangQD)) +- Add support for the `max-index-length` (https://docs.pingcap.com/tidb/stable/tidb-configuration-file#max-index-length) TiDB config option to the TidbCluster CRD ([#3076](https://github.com/pingcap/tidb-operator/pull/3076), [@kolbe](https://github.com/kolbe)) +- Fix goroutine leak when TLS enabled ([#3081](https://github.com/pingcap/tidb-operator/pull/3081), [@DanielZhangQD](https://github.com/DanielZhangQD)) +- Fix a memory leak issue caused by etcd client when TLS is enabled ([#3064](https://github.com/pingcap/tidb-operator/pull/3064), [@DanielZhangQD](https://github.com/DanielZhangQD)) +- Support TLS for TiFlash ([#3049](https://github.com/pingcap/tidb-operator/pull/3049), [@DanielZhangQD](https://github.com/DanielZhangQD)) +- Configure TZ environment for admission webhook and advanced statefulset controller deployed in tidb-operator chart ([#3034](https://github.com/pingcap/tidb-operator/pull/3034), [@cofyc](https://github.com/cofyc)) + # TiDB Operator v1.1.3 Release Notes ## Action Required diff --git a/charts/tidb-cluster/values.yaml b/charts/tidb-cluster/values.yaml index 83fbeb753c2..f43d5cfed80 100644 --- a/charts/tidb-cluster/values.yaml +++ b/charts/tidb-cluster/values.yaml @@ -38,7 +38,7 @@ services: type: ClusterIP discovery: - image: pingcap/tidb-operator:v1.1.3 + image: pingcap/tidb-operator:v1.1.4 imagePullPolicy: IfNotPresent resources: limits: diff --git a/charts/tidb-operator/values.yaml b/charts/tidb-operator/values.yaml index 735392c4fef..02e187ab177 100644 --- a/charts/tidb-operator/values.yaml +++ b/charts/tidb-operator/values.yaml @@ -12,12 +12,12 @@ rbac: timezone: UTC # operatorImage is TiDB Operator image -operatorImage: pingcap/tidb-operator:v1.1.3 +operatorImage: pingcap/tidb-operator:v1.1.4 imagePullPolicy: IfNotPresent # imagePullSecrets: [] # tidbBackupManagerImage is tidb backup manager image -tidbBackupManagerImage: pingcap/tidb-backup-manager:v1.1.3 +tidbBackupManagerImage: pingcap/tidb-backup-manager:v1.1.4 # # Enable or disable tidb-operator features: diff --git a/deploy/aliyun/variables.tf b/deploy/aliyun/variables.tf index d7fb520e23c..5e571fde78b 100644 --- a/deploy/aliyun/variables.tf +++ b/deploy/aliyun/variables.tf @@ -10,7 +10,7 @@ variable "bastion_cpu_core_count" { variable "operator_version" { type = string - default = "v1.1.3" + default = "v1.1.4" } variable "operator_helm_values" { diff --git a/deploy/aws/variables.tf b/deploy/aws/variables.tf index ec17dce658e..7e66c7951d4 100644 --- a/deploy/aws/variables.tf +++ b/deploy/aws/variables.tf @@ -19,7 +19,7 @@ variable "eks_version" { variable "operator_version" { description = "TiDB operator version" - default = "v1.1.3" + default = "v1.1.4" } variable "operator_values" { diff --git a/deploy/gcp/variables.tf b/deploy/gcp/variables.tf index 560b84e53c6..5fc853acbef 100644 --- a/deploy/gcp/variables.tf +++ b/deploy/gcp/variables.tf @@ -28,7 +28,7 @@ variable "tidb_version" { } variable "tidb_operator_version" { - default = "v1.1.3" + default = "v1.1.4" } variable "tidb_operator_chart_version" { From c09f8d7c934e8ce872f9868023c918ab9aa27a75 Mon Sep 17 00:00:00 2001 From: DanielZhangQD <36026334+DanielZhangQD@users.noreply.github.com> Date: Thu, 20 Aug 2020 22:54:37 +0800 Subject: [PATCH 2/3] Apply suggestions from code review Co-authored-by: Ran --- CHANGELOG-1.1.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/CHANGELOG-1.1.md b/CHANGELOG-1.1.md index 0e7c0e80766..61bc003083f 100644 --- a/CHANGELOG-1.1.md +++ b/CHANGELOG-1.1.md @@ -2,16 +2,16 @@ ## Notable changes -- `TableFilter` is added to the `BackupSpec` and `RestoreSpec`, which supports backup specific database or table with Dumpling or BR and supports restore specific database or table with BR. - `BackupSpec.Dumpling.TableFilter` is deprecated from v1.1.4 and please configure `BackupSpec.TableFilter`. - From TiDB v4.0.3, you can configure `BackupSpec.TableFilter` to replace the `BackupSpec.BR.DB` and `BackupSpec.BR.Table` fields and configure `RestoreSpec.TableFilter` to replace the `RestoreSpec.BR.DB` and `RestoreSpec.BR.Table` fields ([#3134](https://github.com/pingcap/tidb-operator/pull/3134), [@sstubbs](https://github.com/sstubbs)) -- Update TiDB and tools version to v4.0.4 ([#3135](https://github.com/pingcap/tidb-operator/pull/3135), [@lichunzhu](https://github.com/lichunzhu)) +- `TableFilter` is added to the `BackupSpec` and `RestoreSpec`. `TableFilter` supports backing up specific databases or tables with Dumpling or BR and supports restoring specific databases or tables with BR. + `BackupSpec.Dumpling.TableFilter` is deprecated since v1.1.4. Please configure `BackupSpec.TableFilter`. + Since TiDB v4.0.3, you can configure `BackupSpec.TableFilter` to replace the `BackupSpec.BR.DB` and `BackupSpec.BR.Table` fields and configure `RestoreSpec.TableFilter` to replace the `RestoreSpec.BR.DB` and `RestoreSpec.BR.Table` fields ([#3134](https://github.com/pingcap/tidb-operator/pull/3134), [@sstubbs](https://github.com/sstubbs)) +- Update the version of TiDB and tools to v4.0.4 ([#3135](https://github.com/pingcap/tidb-operator/pull/3135), [@lichunzhu](https://github.com/lichunzhu)) - Support customizing environment variables for the initializer container in the TidbMonitor CR ([#3109](https://github.com/pingcap/tidb-operator/pull/3109), [@kolbe](https://github.com/kolbe)) - Support patching PVCs when the storage request is increased ([#3096](https://github.com/pingcap/tidb-operator/pull/3096), [@cofyc](https://github.com/cofyc)) -- Support TLS for Backup&Restore with Dumpling&Lightning ([#3100](https://github.com/pingcap/tidb-operator/pull/3100), [@lichunzhu](https://github.com/lichunzhu)) -- Support cert-allowed-cn for TiFlash ([#3101](https://github.com/pingcap/tidb-operator/pull/3101), [@DanielZhangQD](https://github.com/DanielZhangQD)) -- Add support for the `max-index-length` (https://docs.pingcap.com/tidb/stable/tidb-configuration-file#max-index-length) TiDB config option to the TidbCluster CRD ([#3076](https://github.com/pingcap/tidb-operator/pull/3076), [@kolbe](https://github.com/kolbe)) -- Fix goroutine leak when TLS enabled ([#3081](https://github.com/pingcap/tidb-operator/pull/3081), [@DanielZhangQD](https://github.com/DanielZhangQD)) +- Support TLS for Backup & Restore with Dumpling & TiDB Lightning ([#3100](https://github.com/pingcap/tidb-operator/pull/3100), [@lichunzhu](https://github.com/lichunzhu)) +- Support `cert-allowed-cn` for TiFlash ([#3101](https://github.com/pingcap/tidb-operator/pull/3101), [@DanielZhangQD](https://github.com/DanielZhangQD)) +- Add support for the [`max-index-length`](https://docs.pingcap.com/tidb/stable/tidb-configuration-file#max-index-length) TiDB config option to the TidbCluster CRD ([#3076](https://github.com/pingcap/tidb-operator/pull/3076), [@kolbe](https://github.com/kolbe)) +- Fix goroutine leak when TLS is enabled ([#3081](https://github.com/pingcap/tidb-operator/pull/3081), [@DanielZhangQD](https://github.com/DanielZhangQD)) - Fix a memory leak issue caused by etcd client when TLS is enabled ([#3064](https://github.com/pingcap/tidb-operator/pull/3064), [@DanielZhangQD](https://github.com/DanielZhangQD)) - Support TLS for TiFlash ([#3049](https://github.com/pingcap/tidb-operator/pull/3049), [@DanielZhangQD](https://github.com/DanielZhangQD)) - Configure TZ environment for admission webhook and advanced statefulset controller deployed in tidb-operator chart ([#3034](https://github.com/pingcap/tidb-operator/pull/3034), [@cofyc](https://github.com/cofyc)) From 89ac7f38b14dc42e00e9ea41d7a1e97f70a42535 Mon Sep 17 00:00:00 2001 From: DanielZhangQD <36026334+DanielZhangQD@users.noreply.github.com> Date: Fri, 21 Aug 2020 10:31:14 +0800 Subject: [PATCH 3/3] Update CHANGELOG-1.1.md Co-authored-by: Ran --- CHANGELOG-1.1.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG-1.1.md b/CHANGELOG-1.1.md index 61bc003083f..da0c86eccfe 100644 --- a/CHANGELOG-1.1.md +++ b/CHANGELOG-1.1.md @@ -3,7 +3,7 @@ ## Notable changes - `TableFilter` is added to the `BackupSpec` and `RestoreSpec`. `TableFilter` supports backing up specific databases or tables with Dumpling or BR and supports restoring specific databases or tables with BR. - `BackupSpec.Dumpling.TableFilter` is deprecated since v1.1.4. Please configure `BackupSpec.TableFilter`. + `BackupSpec.Dumpling.TableFilter` is deprecated since v1.1.4. Please configure `BackupSpec.TableFilter` instead. Since TiDB v4.0.3, you can configure `BackupSpec.TableFilter` to replace the `BackupSpec.BR.DB` and `BackupSpec.BR.Table` fields and configure `RestoreSpec.TableFilter` to replace the `RestoreSpec.BR.DB` and `RestoreSpec.BR.Table` fields ([#3134](https://github.com/pingcap/tidb-operator/pull/3134), [@sstubbs](https://github.com/sstubbs)) - Update the version of TiDB and tools to v4.0.4 ([#3135](https://github.com/pingcap/tidb-operator/pull/3135), [@lichunzhu](https://github.com/lichunzhu)) - Support customizing environment variables for the initializer container in the TidbMonitor CR ([#3109](https://github.com/pingcap/tidb-operator/pull/3109), [@kolbe](https://github.com/kolbe))