mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
4.8 KiB
4.8 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.
- Removed etcdctl defrag --data-dir.
- Removed etcdctl snapshot status.
- Removed etcdctl snapshot restore.
- Removed etcdutl snapshot save.
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 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
- Fix segmentation violation(SIGSEGV) error due to premature unlocking of watchableStore
- Fix inconsistent log format
- Fix Inconsistent revision and data occurs
- Fix Etcdserver is still in progress of processing LeaseGrantRequest when it receives a LeaseKeepAliveRequest on the same leaseID
- Fix consistent_index coming from snapshot is overwritten by the old local value
tools/benchmark
Metrics, Monitoring
See List of metrics for all metrics per release.
Go
- Compile with Go 1.17+
Other
- Use Distroless as base image to make the image less vulnerable and reduce image size.