From f3deba09b42d1baf889ac47982a685839aa4d269 Mon Sep 17 00:00:00 2001 From: shawwang Date: Fri, 22 May 2020 22:47:21 +0800 Subject: [PATCH] CHANGELOG: update 3.2 changelog and 3.3 upgrade document for #11691 --- CHANGELOG-3.2.md | 16 ++++++++++++++++ Documentation/upgrades/upgrade_3_3.md | 2 +- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/CHANGELOG-3.2.md b/CHANGELOG-3.2.md index 79cf1ee5e..ae211dad7 100644 --- a/CHANGELOG-3.2.md +++ b/CHANGELOG-3.2.md @@ -9,6 +9,22 @@ The minimum recommended etcd versions to run in **production** are 3.2.28+, 3.3.
+## [v3.2.31](https://github.com/etcd-io/etcd/releases/tag/v3.2.31) (TBD) + +See [code changes](https://github.com/etcd-io/etcd/compare/v3.2.30...v3.2.31) and [v3.2 upgrade guide](https://github.com/etcd-io/etcd/blob/master/Documentation/upgrades/upgrade_3_2.md) for any breaking changes. + +### auth, etcdserver + +- [attaching a fake root token when calling `LeaseRevoke`](https://github.com/etcd-io/etcd/pull/11691). + - fix a data corruption bug caused by lease expiration when authentication is enabled and upgrading cluster from etcd-3.2 to etcd-3.3 + +### Go + +- Compile with [*Go 1.12.17*](https://golang.org/doc/devel/release.html#go1.12). + +
+ + ## [v3.2.30](https://github.com/etcd-io/etcd/releases/tag/v3.2.30) (2020-04-01) See [code changes](https://github.com/etcd-io/etcd/compare/v3.2.29...v3.2.30) and [v3.2 upgrade guide](https://github.com/etcd-io/etcd/blob/master/Documentation/upgrades/upgrade_3_2.md) for any breaking changes. diff --git a/Documentation/upgrades/upgrade_3_3.md b/Documentation/upgrades/upgrade_3_3.md index e797bc67e..95d8c1163 100644 --- a/Documentation/upgrades/upgrade_3_3.md +++ b/Documentation/upgrades/upgrade_3_3.md @@ -12,7 +12,7 @@ Before [starting an upgrade](#upgrade-procedure), read through the rest of this **NOTE:** When [migrating from v2 with no v3 data](https://github.com/etcd-io/etcd/issues/9480), etcd server v3.2+ panics when etcd restores from existing snapshots but no v3 `ETCD_DATA_DIR/member/snap/db` file. This happens when the server had migrated from v2 with no previous v3 data. This also prevents accidental v3 data loss (e.g. `db` file might have been moved). etcd requires that post v3 migration can only happen with v3 data. Do not upgrade to newer v3 versions until v3.0 server contains v3 data. -**NOTE:** if you enable auth and use lease(lease ttl is small),it has a high probability to encounter [issue](https://github.com/etcd-io/etcd/issues/11689) that will result in data inconsistency. It is strongly recommended to upgrade to the latest version of 3.2 to fix this problem, and then upgrade to 3.3. The latest version is not yet available, please pay attention to [changelog](https://github.com/etcd-io/etcd/blob/master/CHANGELOG-3.2.md). +**NOTE:** if you enable auth and use lease(lease ttl is small), it has a high probability to encounter [issue](https://github.com/etcd-io/etcd/issues/11689) that will result in data inconsistency. It is strongly recommended upgrading to 3.2.31+ firstly to fix this problem, and then upgrade to 3.3. In addition, if the user without permission sends a `LeaseRevoke` request to the 3.3 node during the upgrade process, it may still cause data corruption, so it is best to ensure that your environment doesn't exist such abnormal calls before upgrading, see [#11691](https://github.com/etcd-io/etcd/pull/11691) for detail. Highlighted breaking changes in 3.3.