v3.0.4
Today we're announcing etcd v3.0.4. This is primarily a bug fix release, backward-compatible with all previous v3.0.0+ releases.
Bug fixes
- GH5956: *: fix issue found in fast lease renew
- GH5969: *: fix 'gogo/protobuf' compatibility issue (Fix for GH5942)
- GH5995: rpctypes, clientv3: retry RPC on EtcdStopped
- GH6006: etcdmain: correctly check return values from SdNotify()
- GH6009: v3rpc: don't elide next progress notification on progress notification
- GH6032: fix a few issues in grpc gateway
- GH6045: etcdserver, api, membership: don't race on setting version
- GH6056: scripts/genproto: use latest grpc-gateway c8ec92d0
Security changes
Other changes
- GH5951: *: update grpc-gateway and its import paths
- GH5973: fileutil: rework purge tests so they don't poll
- GH5976: integration: drain keepalives in TestLeaseKeepAliveCloseAfterDisconnectRevoke
- GH5990: clientv3/integration: fix race in TestWatchCompactRevision
- GH5999: Add support for formating output of ls command in json or extended format
- GH6011: e2e: use a single member cluster in TestCtlV3Migrate
- GH6047: Documentation: fix links in upgrades
- GH6058: Dockerfile-release: add '/var/lib/etcd/'
Getting started
Linux
curl -L https://github.com/coreos/etcd/releases/download/v3.0.4/etcd-v3.0.4-linux-amd64.tar.gz -o etcd-v3.0.4-linux-amd64.tar.gz
tar xzvf etcd-v3.0.4-linux-amd64.tar.gz && cd etcd-v3.0.4-linux-amd64
./etcd --version
Git SHA: d53923c
Go Version: go1.6.3
Go OS/Arch: linux/amd64
# start a local etcd server
./etcd
# write,read to etcd
ETCDCTL_API=3 ./etcdctl --endpoints=localhost:2379 put foo "bar"
ETCDCTL_API=3 ./etcdctl --endpoints=localhost:2379 get foo
Mac OS (Darwin)
curl -L https://github.com/coreos/etcd/releases/download/v3.0.4/etcd-v3.0.4-darwin-amd64.zip -o etcd-v3.0.4-darwin-amd64.zip
unzip etcd-v3.0.4-darwin-amd64.zip && cd etcd-v3.0.4-darwin-amd64
./etcd --version
ACI / rkt
rkt trust --prefix coreos.com/etcd
rkt run --volume data-dir,kind=host,source=/tmp --mds-register=false coreos.com/etcd:v3.0.4
For more details, please check rkt commands.
Docker
docker run --name etcd quay.io/coreos/etcd:v3.0.4
For more details, please check Docker guide.