mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00

When performing the downgrade operation, users can confirm whether each member is ready to be downgraded using the field 'storageVersion'. If it's equal to the 'target version' in the downgrade command, then it's ready to be downgraded; otherwise, the etcd member is still in progress of processing the db file.
4.0 KiB
4.0 KiB
Previous change logs can be found at CHANGELOG-3.5.
v3.6.0 (TBD)
See code changes.
Breaking Changes
etcd
will no longer start on data dir created by newer versions (for example etcd v3.6 will not run on v3.7+ data dir). To downgrade data dir please check outetcdutl migrate
command.etcd
doesn't support serving client requests on the peer listen endpoints (--listen-peer-urls). See pull/13565.
Deprecations
- Deprecated V2 discovery.
etcdctl v3
- Add command to generate shell completion.
- When print endpoint status, show db size in use
- Always print the raft_term in decimal when displaying member list in json.
- Add one more field
storageVersion
into the response of commandetcdctl endpoint status
.
etcdutl v3
- Add command to generate shell completion.
- Add
migrate
command for downgrading/upgrading etcd data dir files.
package client/pkg/v3
- Trim the suffix dot from the target in SRV records returned by DNS lookup
Package server
- Package
mvcc
was moved tostorage/mvcc
- Package
mvcc/backend
was moved tostorage/backend
- Package
mvcc/buckets
was moved tostorage/schema
- Package
wal
was moved tostorage/wal
- Package
datadir
was moved tostorage/datadir
etcd server
- Add
etcd --log-format
flag to support log format. - Add
etcd --experimental-max-learners
flag to allow configuration of learner max membership. - Add
etcd --experimental-enable-lease-checkpoint-persist
flag to handle upgrade from v3.5.2 clusters with this feature enabled. - Add
etcdctl make-mirror --rev
flag to support incremental mirror. - Add
etcd --experimental-wait-cluster-ready-timeout
flag to wait for cluster to be ready before serving client requests. - Add v3 discovery to bootstrap a new etcd cluster.
- Fix non mutating requests pass through quotaKVServer when NOSPACE
- Fix exclude the same alarm type activated by multiple peers.
- Fix Provide a better liveness probe for when etcd runs as a Kubernetes pod
- Fix Lease checkpoints don't prevent to reset ttl on leader change.
- Fix assertion failed due to tx closed when recovering v3 backend from a snapshot db
- Fix A client can panic etcd by passing invalid utf-8 in the client-api-version header
- Fix etcd gateway doesn't format the endpoint of IPv6 address correctly
- Fix A client can cause a nil dereference in etcd by passing an invalid SortTarget
- Fix Grant lease with negative ID can possibly cause db out of sync
tools/benchmark
Metrics, Monitoring
See List of metrics for all metrics per release.
Other
- Use Distroless as base image to make the image less vulnerable and reduce image size.