From 7563bec19f6a36d70697a22682d75edf6711ee4d Mon Sep 17 00:00:00 2001 From: Gyuho Lee Date: Mon, 26 Mar 2018 05:51:05 -0700 Subject: [PATCH] CHANGELOG: update compactor links, 4.0 Signed-off-by: Gyuho Lee --- CHANGELOG-3.3.md | 2 +- CHANGELOG-3.4.md | 7 ++++--- CHANGELOG-4.0.md | 9 +++++++++ 3 files changed, 14 insertions(+), 4 deletions(-) diff --git a/CHANGELOG-3.3.md b/CHANGELOG-3.3.md index 5468ddbb38e..fd93458c5d7 100644 --- a/CHANGELOG-3.3.md +++ b/CHANGELOG-3.3.md @@ -9,7 +9,7 @@ See [code changes](https://github.com/coreos/etcd/compare/v3.3.2...v3.3.3) and [ - Adjust [election timeout on server restart](https://github.com/coreos/etcd/pull/9415) to reduce [disruptive rejoining servers](https://github.com/coreos/etcd/issues/9333). - Previously, etcd fast-forwards election ticks on server start, with only one tick left for leader election. This is to speed up start phase, without having to wait until all election ticks elapse. Advancing election ticks is useful for cross datacenter deployments with larger election timeouts. However, it was affecting cluster availability if the last tick elapses before leader contacts the restarted node. - Now, when etcd restarts, it adjusts election ticks with more than one tick left, thus more time for leader to prevent disruptive restart. -- Adjust [periodic compaction retention window](https://github.com/coreos/etcd/pull/9474). +- Adjust [periodic compaction retention window](https://github.com/coreos/etcd/pull/9485). - e.g. `--auto-compaction-mode=revision --auto-compaction-retention=1000` automatically `Compact` on `"latest revision" - 1000` every 5-minute (when latest revision is 30000, compact on revision 29000). - e.g. Previously, `--auto-compaction-mode=periodic --auto-compaction-retention=72h` automatically `Compact` with 72-hour retention windown for every 7.2-hour. **Now, `Compact` happens, for every 1-hour but still with 72-hour retention window.** - e.g. Previously, `--auto-compaction-mode=periodic --auto-compaction-retention=30m` automatically `Compact` with 30-minute retention windown for every 3-minute. **Now, `Compact` happens, for every 30-minute but still with 30-minute retention window.** diff --git a/CHANGELOG-3.4.md b/CHANGELOG-3.4.md index d6007446c6d..eca0f73be4e 100644 --- a/CHANGELOG-3.4.md +++ b/CHANGELOG-3.4.md @@ -18,7 +18,7 @@ See [code changes](https://github.com/coreos/etcd/compare/v3.3.0...v3.4.0) and [ - Now, when etcd restarts, it adjusts election ticks with more than one tick left, thus more time for leader to prevent disruptive restart. - Add [Raft Pre-Vote feature](https://github.com/coreos/etcd/pull/9352) to reduce [disruptive rejoining servers](https://github.com/coreos/etcd/issues/9333). - For instance, a flaky(or rejoining) member may drop in and out, and start campaign. This member will end up with a higher term, and ignore all incoming messages with lower term. In this case, a new leader eventually need to get elected, thus disruptive to cluster availability. Raft implements Pre-Vote phase to prevent this kind of disruptions. If enabled, Raft runs an additional phase of election to check if pre-candidate can get enough votes to win an election. -- Adjust [periodic compaction retention window](https://github.com/coreos/etcd/pull/9474). +- Adjust [periodic compaction retention window](https://github.com/coreos/etcd/pull/9485). - e.g. `--auto-compaction-mode=revision --auto-compaction-retention=1000` automatically `Compact` on `"latest revision" - 1000` every 5-minute (when latest revision is 30000, compact on revision 29000). - e.g. Previously, `--auto-compaction-mode=periodic --auto-compaction-retention=24h` automatically `Compact` with 24-hour retention windown for every 2.4-hour. Now, `Compact` happens for every 1-hour. - e.g. Previously, `--auto-compaction-mode=periodic --auto-compaction-retention=30m` automatically `Compact` with 30-minute retention windown for every 3-minute. Now, `Compact` happens for every 30-minute. @@ -82,6 +82,7 @@ See [security doc](https://github.com/coreos/etcd/blob/master/Documentation/op-g - Note that the client origin policy is enforced whether authentication is enabled or not, for tighter controls. - When specifying hostnames, loopback addresses are not added automatically. To allow loopback interfaces, add them to whitelist manually (e.g. `"localhost"`, `"127.0.0.1"`, etc.). - e.g. `etcd --host-whitelist example.com`, then the server will reject all HTTP requests whose Host field is not `example.com` (also rejects requests to `"localhost"`). +- TODO: Support `CORS`. - TODO: Support [TLS cipher suite lists](TODO). - Support [`ttl` field for `etcd` Authentication JWT token](https://github.com/coreos/etcd/pull/8302). - e.g. `etcd --auth-token jwt,pub-key=,priv-key=,sign-method=,ttl=5m`. @@ -137,8 +138,8 @@ See [security doc](https://github.com/coreos/etcd/blob/master/Documentation/op-g - Replace [gRPC gateway](https://github.com/grpc-ecosystem/grpc-gateway) `/v3beta` with [`/v3`](https://github.com/coreos/etcd/pull/9298). - Deprecated [`/v3alpha`](https://github.com/coreos/etcd/pull/9298). - To deprecate [`/v3beta`](https://github.com/coreos/etcd/issues/9189) in `v3.5`. -- Add API endpoints [`/{v3,v3beta}/lease/leases, /{v3,v3beta}/lease/revoke /{v3,v3beta}/lease/timetolive`](https://github.com/coreos/etcd/pull/9450). - - To deprecate [`/{v3,v3beta}/kv/lease/leases, /{v3,v3beta}/kv/lease/revoke, /{v3,v3beta}/kv/lease/timetolive`](https://github.com/coreos/etcd/issues/9430) in `v3.5`. +- Add API endpoints [`/{v3beta,v3}/lease/leases, /{v3beta,v3}/lease/revoke, /{v3beta,v3}/lease/timetolive`](https://github.com/coreos/etcd/pull/9450). + - To deprecate [`/{v3beta,v3}/kv/lease/leases, /{v3beta,v3}/kv/lease/revoke, /{v3beta,v3}/kv/lease/timetolive`](https://github.com/coreos/etcd/issues/9430) in `v3.5`. ### Package `raft` diff --git a/CHANGELOG-4.0.md b/CHANGELOG-4.0.md index 05e46054943..ff208fb0fc2 100644 --- a/CHANGELOG-4.0.md +++ b/CHANGELOG-4.0.md @@ -1,14 +1,23 @@ +See this more of breaking change wishlists. + + ## v4.0.0 (TBD) See [code changes](https://github.com/coreos/etcd/compare/v3.3.0...v4.0.0) and [v4.0 upgrade guide](https://github.com/coreos/etcd/blob/master/Documentation/upgrades/upgrade_4_0.md) for any breaking changes. ### Breaking Changes +- [Secure etcd by default](https://github.com/coreos/etcd/issues/9475). +- Change `/health` endpoint output. + - Previously, `{"health":"true"}`. + - Now, `{"health":true}`. + - Breaks [Kubernetes `kubectl get componentstatuses` command](https://github.com/kubernetes/kubernetes/issues/58240). - Deprecate [v2 storage backend](https://github.com/coreos/etcd/issues/9232). - v2 API is still supported via [v2 emulation](). - `clientv3.Client.KeepAlive(ctx context.Context, id LeaseID) (<-chan *LeaseKeepAliveResponse, error)` is now [`clientv4.Client.KeepAlive(ctx context.Context, id LeaseID) <-chan *LeaseKeepAliveResponse`](TODO). - Similar to `Watch`, [`KeepAlive` does not return errors](https://github.com/coreos/etcd/issues/7488). - If there's an unknown server error, kill all open channels and create a new stream on the next `KeepAlive` call. +- Rename `github.com/coreos/client` to `github.com/coreos/clientv2`.