6.6 KiB
6.6 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.etcdctl
will sleep(2s) in case of range delete without--range
flag.See pull/13747
Deprecations
- Deprecated V2 discovery.
- Deprecated SetKeepAlive and SetKeepAlivePeriod in limitListenerConn.
- 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
. - Add
--max-txn-ops
flag to make-mirror command.
etcdutl v3
- Add command to generate shell completion.
- Add
migrate
command for downgrading/upgrading etcd data dir files.
Package clientv3
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.
- Add field
storage
into the response body of endpoint/version
. - Add
etcd --max-concurrent-streams
flag to configure the max concurrent streams each client can open at a time, and defaults to math.MaxUint32. - Add
etcd grpc-proxy --experimental-enable-grpc-logging
flag to logging all grpc requests and responses. - 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
- Fix etcd panic on startup (auth enabled)
- Fix Defrag unsets backend options.
- Fix Restrict the max size of each WAL entry to the remaining size of the WAL file.
- Fix memberID equals zero in corruption alarm
etcd grpc-proxy
- Add
etcd grpc-proxy start --endpoints-auto-sync-interval
flag to enable and configure interval of auto sync of endpoints with server.
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.
- Bump golang.org/x/crypto to latest version to address CVE-2022-27191.