3.3 KiB
3.3 KiB
v3.4.0 (TBD)
v3.4.0 is not yet released.
Changed(Breaking Changes)
- Drop ACIs from official release.
- AppC was officially suspended, as of late 2016.
acbuild
is not maintained anymore.*.aci
files are not available fromv3.4
release.
- Exit on empty hosts in advertise URLs.
- Address advertise client URLs accepts empty hosts.
- e.g.
--advertise-client-urls=http://:2379
. - e.g.
--initial-advertise-peer-urls=http://:2380
.
- Exit on shadowed environment variables.
- Migrate dependency management tool from
glide
togolang/dep
.- <= 3.3 puts
vendor
directory undercmd/vendor
directory to prevent conflicting transitive dependencies. - 3.4 moves
cmd/vendor
directory tovendor
at repository root. - Remove recursive symlinks in
cmd
directory. - Now
go get/install/build
onetcd
packages (e.g.clientv3
,tools/benchmark
) enforce builds with etcdvendor
directory.
- <= 3.3 puts
- Reorganize internal packages.
- Rename
"github.com/coreos/etcd/snap"
to"github.com/coreos/etcd/internal/raftsnap"
. - Rename
"github.com/coreos/etcd/discovery"
to"github.com/coreos/etcd/internal/discovery"
.
- Rename
Added(API)
- Add
snapshot
package for snapshot restore/save operations. - Add
watch_id
field toetcdserverpb.WatchCreateRequest
, allow user-provided watch ID tomvcc
.- Corresponding
watch_id
is returned viaetcdserverpb.WatchResponse
, if any.
- Corresponding
- Add
raftAppliedIndex
field toetcdserverpb.StatusResponse
for current Raft applied index. - Add
errors
field toetcdserverpb.StatusResponse
for server-side error.- e.g.
"etcdserver: no leader", "NOSPACE", "CORRUPT"
- e.g.
Added(v3 etcdctl
)
- Add
check datascale
command. - Add "raft applied index" to
endpoint status
. - Add "errors" to
endpoint status
.
Package raft
- Improve Raft
becomeLeader
andstepLeader
by keeping track of latestpb.EntryConfChange
index.- Previously record
pendingConf
boolean field scanning the entire tail of the log, which can delay hearbeat send.
- Previously record
- Add
raft.ErrProposalDropped
.- Now
(r *raft) Step
returnsraft.ErrProposalDropped
if a proposal has been ignored. - e.g. a node is removed from cluster, ongoing leadership transfer, etc.
- Now
- Fix missing learner nodes on
(n *node) ApplyConfChange
.