From a297a9f69de425b095d1c2f0783c937f35798fe2 Mon Sep 17 00:00:00 2001 From: Gyuho Lee Date: Mon, 29 Jan 2018 13:53:24 -0800 Subject: [PATCH] vendor: sync with etcd master Signed-off-by: Gyuho Lee --- Gopkg.lock | 8 +- Gopkg.toml | 4 +- .../github.com/coreos/etcd/client/client.go | 2 +- .../github.com/coreos/etcd/clientv3/auth.go | 2 +- .../github.com/coreos/etcd/clientv3/client.go | 23 +- .../coreos/etcd/clientv3/cluster.go | 11 + .../coreos/etcd/clientv3/maintenance.go | 2 + .../github.com/coreos/etcd/clientv3/retry.go | 8 +- .../github.com/coreos/etcd/clientv3/watch.go | 23 +- .../coreos/etcd/etcdserver/api/capability.go | 3 +- .../coreos/etcd/etcdserver/api/v3rpc/lease.go | 2 +- .../etcd/etcdserver/api/v3rpc/maintenance.go | 34 +- .../coreos/etcd/etcdserver/api/v3rpc/util.go | 30 +- .../coreos/etcd/etcdserver/api/v3rpc/watch.go | 17 +- .../coreos/etcd/etcdserver/apply.go | 8 +- .../coreos/etcd/etcdserver/apply_auth.go | 6 +- .../coreos/etcd/etcdserver/apply_v2.go | 2 +- .../coreos/etcd/etcdserver/backend.go | 16 +- .../coreos/etcd/etcdserver/cluster_util.go | 3 +- .../coreos/etcd/etcdserver/config.go | 16 +- .../coreos/etcd/etcdserver/corrupt.go | 2 +- .../etcd/etcdserver/etcdserverpb/rpc.pb.go | 603 +++++++++++------- .../coreos/etcd/etcdserver/metrics.go | 3 +- .../github.com/coreos/etcd/etcdserver/raft.go | 8 +- .../coreos/etcd/etcdserver/server.go | 33 +- .../coreos/etcd/etcdserver/snapshot_merge.go | 8 +- .../coreos/etcd/etcdserver/storage.go | 6 +- .../coreos/etcd/etcdserver/v2_server.go | 2 +- .../coreos/etcd/etcdserver/v3_server.go | 8 +- .../{ => internal}/auth/authpb/auth.pb.go | 0 .../coreos/etcd/{ => internal}/auth/doc.go | 0 .../coreos/etcd/{ => internal}/auth/jwt.go | 0 .../{ => internal}/auth/range_perm_cache.go | 4 +- .../etcd/{ => internal}/auth/simple_token.go | 0 .../coreos/etcd/{ => internal}/auth/store.go | 4 +- .../coreos/etcd/{ => internal}/mvcc/doc.go | 0 .../coreos/etcd/{ => internal}/mvcc/index.go | 0 .../etcd/{ => internal}/mvcc/key_index.go | 0 .../coreos/etcd/{ => internal}/mvcc/kv.go | 6 +- .../etcd/{ => internal}/mvcc/kv_view.go | 4 +- .../etcd/{ => internal}/mvcc/kvstore.go | 6 +- .../{ => internal}/mvcc/kvstore_compaction.go | 0 .../etcd/{ => internal}/mvcc/kvstore_txn.go | 6 +- .../etcd/{ => internal}/mvcc/metrics.go | 0 .../etcd/{ => internal}/mvcc/metrics_txn.go | 2 +- .../etcd/{ => internal}/mvcc/mvccpb/kv.pb.go | 0 .../etcd/{ => internal}/mvcc/revision.go | 0 .../coreos/etcd/{ => internal}/mvcc/util.go | 4 +- .../{ => internal}/mvcc/watchable_store.go | 6 +- .../mvcc/watchable_store_txn.go | 4 +- .../etcd/{ => internal}/mvcc/watcher.go | 39 +- .../etcd/{ => internal}/mvcc/watcher_group.go | 2 +- .../coreos/etcd/pkg/netutil/netutil.go | 40 +- 53 files changed, 634 insertions(+), 386 deletions(-) rename vendor/github.com/coreos/etcd/{ => internal}/auth/authpb/auth.pb.go (100%) rename vendor/github.com/coreos/etcd/{ => internal}/auth/doc.go (100%) rename vendor/github.com/coreos/etcd/{ => internal}/auth/jwt.go (100%) rename vendor/github.com/coreos/etcd/{ => internal}/auth/range_perm_cache.go (97%) rename vendor/github.com/coreos/etcd/{ => internal}/auth/simple_token.go (100%) rename vendor/github.com/coreos/etcd/{ => internal}/auth/store.go (99%) rename vendor/github.com/coreos/etcd/{ => internal}/mvcc/doc.go (100%) rename vendor/github.com/coreos/etcd/{ => internal}/mvcc/index.go (100%) rename vendor/github.com/coreos/etcd/{ => internal}/mvcc/key_index.go (100%) rename vendor/github.com/coreos/etcd/{ => internal}/mvcc/kv.go (97%) rename vendor/github.com/coreos/etcd/{ => internal}/mvcc/kv_view.go (96%) rename vendor/github.com/coreos/etcd/{ => internal}/mvcc/kvstore.go (98%) rename vendor/github.com/coreos/etcd/{ => internal}/mvcc/kvstore_compaction.go (100%) rename vendor/github.com/coreos/etcd/{ => internal}/mvcc/kvstore_txn.go (97%) rename vendor/github.com/coreos/etcd/{ => internal}/mvcc/metrics.go (100%) rename vendor/github.com/coreos/etcd/{ => internal}/mvcc/metrics_txn.go (97%) rename vendor/github.com/coreos/etcd/{ => internal}/mvcc/mvccpb/kv.pb.go (100%) rename vendor/github.com/coreos/etcd/{ => internal}/mvcc/revision.go (100%) rename vendor/github.com/coreos/etcd/{ => internal}/mvcc/util.go (93%) rename vendor/github.com/coreos/etcd/{ => internal}/mvcc/watchable_store.go (98%) rename vendor/github.com/coreos/etcd/{ => internal}/mvcc/watchable_store_txn.go (96%) rename vendor/github.com/coreos/etcd/{ => internal}/mvcc/watcher.go (79%) rename vendor/github.com/coreos/etcd/{ => internal}/mvcc/watcher_group.go (99%) diff --git a/Gopkg.lock b/Gopkg.lock index 74ea0513..3844d05e 100644 --- a/Gopkg.lock +++ b/Gopkg.lock @@ -35,17 +35,17 @@ [[projects]] name = "github.com/coreos/etcd" packages = [ - "auth/authpb", "clientv3", "etcdserver/api/v3rpc/rpctypes", "etcdserver/etcdserverpb", - "mvcc/mvccpb", + "internal/auth/authpb", + "internal/mvcc/mvccpb", "pkg/cpuutil", "pkg/netutil", "pkg/report", "pkg/types" ] - revision = "6178c450667c1ac804d364f9e7642bbee4a55824" + revision = "1d99d3886f6cb5fb7ef13100c9587cc01820d38e" source = "https://github.com/coreos/etcd" [[projects]] @@ -395,6 +395,6 @@ [solve-meta] analyzer-name = "dep" analyzer-version = 1 - inputs-digest = "67dabb882980ef9cf31a0c1c4cc352e722cc9d45da80bad7038d9476751edc1b" + inputs-digest = "5f3fd3c1bb42b7e13f03ac35628c6743379babd27ebf047e5f1124fcc7f25125" solver-name = "gps-cdcl" solver-version = 1 diff --git a/Gopkg.toml b/Gopkg.toml index 593c61bf..ffa77f22 100644 --- a/Gopkg.toml +++ b/Gopkg.toml @@ -2,11 +2,11 @@ # Direct dependencies -# v3.3.0 RC +# master [[constraint]] name = "github.com/coreos/etcd" source = "https://github.com/coreos/etcd" - revision = "6178c450667c1ac804d364f9e7642bbee4a55824" + revision = "1d99d3886f6cb5fb7ef13100c9587cc01820d38e" # v1.7.5 [[constraint]] diff --git a/vendor/github.com/coreos/etcd/client/client.go b/vendor/github.com/coreos/etcd/client/client.go index e6874505..ec732723 100644 --- a/vendor/github.com/coreos/etcd/client/client.go +++ b/vendor/github.com/coreos/etcd/client/client.go @@ -29,7 +29,7 @@ import ( "sync" "time" - "github.com/coreos/etcd/version" + "github.com/coreos/etcd/internal/version" ) var ( diff --git a/vendor/github.com/coreos/etcd/clientv3/auth.go b/vendor/github.com/coreos/etcd/clientv3/auth.go index 7545bb6c..6ffe48b0 100644 --- a/vendor/github.com/coreos/etcd/clientv3/auth.go +++ b/vendor/github.com/coreos/etcd/clientv3/auth.go @@ -19,8 +19,8 @@ import ( "fmt" "strings" - "github.com/coreos/etcd/auth/authpb" pb "github.com/coreos/etcd/etcdserver/etcdserverpb" + "github.com/coreos/etcd/internal/auth/authpb" "google.golang.org/grpc" ) diff --git a/vendor/github.com/coreos/etcd/clientv3/client.go b/vendor/github.com/coreos/etcd/clientv3/client.go index a2c313d3..68540108 100644 --- a/vendor/github.com/coreos/etcd/clientv3/client.go +++ b/vendor/github.com/coreos/etcd/clientv3/client.go @@ -537,18 +537,19 @@ func toErr(ctx context.Context, err error) error { if _, ok := err.(rpctypes.EtcdError); ok { return err } - ev, _ := status.FromError(err) - code := ev.Code() - switch code { - case codes.DeadlineExceeded: - fallthrough - case codes.Canceled: - if ctx.Err() != nil { - err = ctx.Err() + if ev, ok := status.FromError(err); ok { + code := ev.Code() + switch code { + case codes.DeadlineExceeded: + fallthrough + case codes.Canceled: + if ctx.Err() != nil { + err = ctx.Err() + } + case codes.Unavailable: + case codes.FailedPrecondition: + err = grpc.ErrClientConnClosing } - case codes.Unavailable: - case codes.FailedPrecondition: - err = grpc.ErrClientConnClosing } return err } diff --git a/vendor/github.com/coreos/etcd/clientv3/cluster.go b/vendor/github.com/coreos/etcd/clientv3/cluster.go index e472e62c..785672be 100644 --- a/vendor/github.com/coreos/etcd/clientv3/cluster.go +++ b/vendor/github.com/coreos/etcd/clientv3/cluster.go @@ -18,6 +18,7 @@ import ( "context" pb "github.com/coreos/etcd/etcdserver/etcdserverpb" + "github.com/coreos/etcd/pkg/types" "google.golang.org/grpc" ) @@ -66,6 +67,11 @@ func NewClusterFromClusterClient(remote pb.ClusterClient, c *Client) Cluster { } func (c *cluster) MemberAdd(ctx context.Context, peerAddrs []string) (*MemberAddResponse, error) { + // fail-fast before panic in rafthttp + if _, err := types.NewURLs(peerAddrs); err != nil { + return nil, err + } + r := &pb.MemberAddRequest{PeerURLs: peerAddrs} resp, err := c.remote.MemberAdd(ctx, r, c.callOpts...) if err != nil { @@ -84,6 +90,11 @@ func (c *cluster) MemberRemove(ctx context.Context, id uint64) (*MemberRemoveRes } func (c *cluster) MemberUpdate(ctx context.Context, id uint64, peerAddrs []string) (*MemberUpdateResponse, error) { + // fail-fast before panic in rafthttp + if _, err := types.NewURLs(peerAddrs); err != nil { + return nil, err + } + // it is safe to retry on update. r := &pb.MemberUpdateRequest{ID: id, PeerURLs: peerAddrs} resp, err := c.remote.MemberUpdate(ctx, r, c.callOpts...) diff --git a/vendor/github.com/coreos/etcd/clientv3/maintenance.go b/vendor/github.com/coreos/etcd/clientv3/maintenance.go index f60cfbe4..ce05b3b6 100644 --- a/vendor/github.com/coreos/etcd/clientv3/maintenance.go +++ b/vendor/github.com/coreos/etcd/clientv3/maintenance.go @@ -57,6 +57,8 @@ type Maintenance interface { HashKV(ctx context.Context, endpoint string, rev int64) (*HashKVResponse, error) // Snapshot provides a reader for a point-in-time snapshot of etcd. + // If the context "ctx" is canceled or timed out, reading from returned + // "io.ReadCloser" would error out (e.g. context.Canceled, context.DeadlineExceeded). Snapshot(ctx context.Context) (io.ReadCloser, error) // MoveLeader requests current leader to transfer its leadership to the transferee. diff --git a/vendor/github.com/coreos/etcd/clientv3/retry.go b/vendor/github.com/coreos/etcd/clientv3/retry.go index 7f89ba64..f923f74b 100644 --- a/vendor/github.com/coreos/etcd/clientv3/retry.go +++ b/vendor/github.com/coreos/etcd/clientv3/retry.go @@ -52,7 +52,10 @@ func isRepeatableStopError(err error) bool { return true } // only retry if unavailable - ev, _ := status.FromError(err) + ev, ok := status.FromError(err) + if !ok { + return false + } return ev.Code() != codes.Unavailable } @@ -68,8 +71,7 @@ func isRepeatableStopError(err error) bool { // Returning "true" means retry should stop, otherwise it violates // write-at-most-once semantics. func isNonRepeatableStopError(err error) bool { - ev, _ := status.FromError(err) - if ev.Code() != codes.Unavailable { + if ev, ok := status.FromError(err); ok && ev.Code() != codes.Unavailable { return true } desc := rpctypes.ErrorDesc(err) diff --git a/vendor/github.com/coreos/etcd/clientv3/watch.go b/vendor/github.com/coreos/etcd/clientv3/watch.go index f606a1af..9452d0d9 100644 --- a/vendor/github.com/coreos/etcd/clientv3/watch.go +++ b/vendor/github.com/coreos/etcd/clientv3/watch.go @@ -22,7 +22,7 @@ import ( v3rpc "github.com/coreos/etcd/etcdserver/api/v3rpc/rpctypes" pb "github.com/coreos/etcd/etcdserver/etcdserverpb" - mvccpb "github.com/coreos/etcd/mvcc/mvccpb" + mvccpb "github.com/coreos/etcd/internal/mvcc/mvccpb" "google.golang.org/grpc" "google.golang.org/grpc/codes" @@ -46,6 +46,22 @@ type Watcher interface { // through the returned channel. If revisions waiting to be sent over the // watch are compacted, then the watch will be canceled by the server, the // client will post a compacted error watch response, and the channel will close. + // If the context "ctx" is canceled or timed out, returned "WatchChan" is closed, + // and "WatchResponse" from this closed channel has zero events and nil "Err()". + // The context "ctx" MUST be canceled, as soon as watcher is no longer being used, + // to release the associated resources. + // If the context is "context.Background/TODO", returned "WatchChan" will not be closed + // and wait until events happen, except when server returns a non-recoverable error. + // For example, when context passed with "WithRequireLeader" and the connected server + // has no leader, error "etcdserver: no leader" is returned, and then "WatchChan" is + // closed with non-nil "Err()". + // Otherwise, as long as the context has not been canceled or timed out, watch will + // retry on other recoverable errors forever until reconnected. + // + // TODO: explicitly set context error in the last "WatchResponse" message and close channel? + // Currently, client contexts are overwritten with "valCtx" that never closes. + // TODO(v3.4): configure watch retry policy, limit maximum retry number + // (see https://github.com/coreos/etcd/issues/8980) Watch(ctx context.Context, key string, opts ...OpOption) WatchChan // Close closes the watcher and cancels all watch requests. @@ -353,7 +369,8 @@ func (w *watcher) closeStream(wgs *watchGrpcStream) { } func (w *watchGrpcStream) addSubstream(resp *pb.WatchResponse, ws *watcherStream) { - if resp.WatchId == -1 { + // check watch ID for backward compatibility (<= v3.3) + if resp.WatchId == -1 || (resp.Canceled && resp.CancelReason != "") { // failed; no channel close(ws.recvc) return @@ -439,6 +456,7 @@ func (w *watchGrpcStream) run() { // Watch() requested case wreq := <-w.reqc: outc := make(chan WatchResponse, 1) + // TODO: pass custom watch ID? ws := &watcherStream{ initReq: *wreq, id: -1, @@ -539,6 +557,7 @@ func (w *watchGrpcStream) dispatchEvent(pbresp *pb.WatchResponse) bool { for i, ev := range pbresp.Events { events[i] = (*Event)(ev) } + // TODO: return watch ID? wr := &WatchResponse{ Header: *pbresp.Header, Events: events, diff --git a/vendor/github.com/coreos/etcd/etcdserver/api/capability.go b/vendor/github.com/coreos/etcd/etcdserver/api/capability.go index eb34383d..9b73a3d4 100644 --- a/vendor/github.com/coreos/etcd/etcdserver/api/capability.go +++ b/vendor/github.com/coreos/etcd/etcdserver/api/capability.go @@ -17,7 +17,8 @@ package api import ( "sync" - "github.com/coreos/etcd/version" + "github.com/coreos/etcd/internal/version" + "github.com/coreos/go-semver/semver" "github.com/coreos/pkg/capnslog" ) diff --git a/vendor/github.com/coreos/etcd/etcdserver/api/v3rpc/lease.go b/vendor/github.com/coreos/etcd/etcdserver/api/v3rpc/lease.go index 5b4f2b14..f872e860 100644 --- a/vendor/github.com/coreos/etcd/etcdserver/api/v3rpc/lease.go +++ b/vendor/github.com/coreos/etcd/etcdserver/api/v3rpc/lease.go @@ -21,7 +21,7 @@ import ( "github.com/coreos/etcd/etcdserver" "github.com/coreos/etcd/etcdserver/api/v3rpc/rpctypes" pb "github.com/coreos/etcd/etcdserver/etcdserverpb" - "github.com/coreos/etcd/lease" + "github.com/coreos/etcd/internal/lease" ) type LeaseServer struct { diff --git a/vendor/github.com/coreos/etcd/etcdserver/api/v3rpc/maintenance.go b/vendor/github.com/coreos/etcd/etcdserver/api/v3rpc/maintenance.go index c9df1800..aa5e90fd 100644 --- a/vendor/github.com/coreos/etcd/etcdserver/api/v3rpc/maintenance.go +++ b/vendor/github.com/coreos/etcd/etcdserver/api/v3rpc/maintenance.go @@ -19,14 +19,15 @@ import ( "crypto/sha256" "io" - "github.com/coreos/etcd/auth" "github.com/coreos/etcd/etcdserver" "github.com/coreos/etcd/etcdserver/api/v3rpc/rpctypes" pb "github.com/coreos/etcd/etcdserver/etcdserverpb" - "github.com/coreos/etcd/mvcc" - "github.com/coreos/etcd/mvcc/backend" + "github.com/coreos/etcd/internal/auth" + "github.com/coreos/etcd/internal/mvcc" + "github.com/coreos/etcd/internal/mvcc/backend" + "github.com/coreos/etcd/internal/version" "github.com/coreos/etcd/pkg/types" - "github.com/coreos/etcd/version" + "github.com/coreos/etcd/raft" ) type KVGetter interface { @@ -38,6 +39,9 @@ type BackendGetter interface { } type Alarmer interface { + // Alarms is implemented in Server interface located in etcdserver/server.go + // It returns a list of alarms present in the AlarmStore + Alarms() []*pb.AlarmMember Alarm(ctx context.Context, ar *pb.AlarmRequest) (*pb.AlarmResponse, error) } @@ -153,12 +157,22 @@ func (ms *maintenanceServer) Alarm(ctx context.Context, ar *pb.AlarmRequest) (*p func (ms *maintenanceServer) Status(ctx context.Context, ar *pb.StatusRequest) (*pb.StatusResponse, error) { resp := &pb.StatusResponse{ - Header: &pb.ResponseHeader{Revision: ms.hdr.rev()}, - Version: version.Version, - DbSize: ms.bg.Backend().Size(), - Leader: uint64(ms.rg.Leader()), - RaftIndex: ms.rg.Index(), - RaftTerm: ms.rg.Term(), + Header: &pb.ResponseHeader{Revision: ms.hdr.rev()}, + Version: version.Version, + DbSize: ms.bg.Backend().Size(), + Leader: uint64(ms.rg.Leader()), + RaftIndex: ms.rg.Index(), + RaftTerm: ms.rg.Term(), + RaftAppliedIndex: ms.rg.AppliedIndex(), + } + if uint64(ms.rg.Leader()) == raft.None { + resp.Errors = append(resp.Errors, etcdserver.ErrNoLeader.Error()) + } + alarms := ms.a.Alarms() + if len(alarms) > 0 { + for _, alarm := range alarms { + resp.Errors = append(resp.Errors, alarm.String()) + } } ms.hdr.fill(resp.Header) return resp, nil diff --git a/vendor/github.com/coreos/etcd/etcdserver/api/v3rpc/util.go b/vendor/github.com/coreos/etcd/etcdserver/api/v3rpc/util.go index e4bb85ae..5ad962a6 100644 --- a/vendor/github.com/coreos/etcd/etcdserver/api/v3rpc/util.go +++ b/vendor/github.com/coreos/etcd/etcdserver/api/v3rpc/util.go @@ -16,13 +16,14 @@ package v3rpc import ( "context" + "strings" - "github.com/coreos/etcd/auth" "github.com/coreos/etcd/etcdserver" "github.com/coreos/etcd/etcdserver/api/v3rpc/rpctypes" "github.com/coreos/etcd/etcdserver/membership" - "github.com/coreos/etcd/lease" - "github.com/coreos/etcd/mvcc" + "github.com/coreos/etcd/internal/auth" + "github.com/coreos/etcd/internal/lease" + "github.com/coreos/etcd/internal/mvcc" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" @@ -91,6 +92,25 @@ func isClientCtxErr(ctxErr error, err error) bool { if !ok { return false } - code := ev.Code() - return code == codes.Canceled || code == codes.DeadlineExceeded + + switch ev.Code() { + case codes.Canceled, codes.DeadlineExceeded: + // client-side context cancel or deadline exceeded + // "rpc error: code = Canceled desc = context canceled" + // "rpc error: code = DeadlineExceeded desc = context deadline exceeded" + return true + case codes.Unavailable: + msg := ev.Message() + // client-side context cancel or deadline exceeded with TLS ("http2.errClientDisconnected") + // "rpc error: code = Unavailable desc = client disconnected" + if msg == "client disconnected" { + return true + } + // "grpc/transport.ClientTransport.CloseStream" on canceled streams + // "rpc error: code = Unavailable desc = stream error: stream ID 21; CANCEL") + if strings.HasPrefix(msg, "stream error: ") && strings.HasSuffix(msg, "; CANCEL") { + return true + } + } + return false } diff --git a/vendor/github.com/coreos/etcd/etcdserver/api/v3rpc/watch.go b/vendor/github.com/coreos/etcd/etcdserver/api/v3rpc/watch.go index dd4f3295..65ad02d1 100644 --- a/vendor/github.com/coreos/etcd/etcdserver/api/v3rpc/watch.go +++ b/vendor/github.com/coreos/etcd/etcdserver/api/v3rpc/watch.go @@ -20,12 +20,12 @@ import ( "sync" "time" - "github.com/coreos/etcd/auth" "github.com/coreos/etcd/etcdserver" "github.com/coreos/etcd/etcdserver/api/v3rpc/rpctypes" pb "github.com/coreos/etcd/etcdserver/etcdserverpb" - "github.com/coreos/etcd/mvcc" - "github.com/coreos/etcd/mvcc/mvccpb" + "github.com/coreos/etcd/internal/auth" + "github.com/coreos/etcd/internal/mvcc" + "github.com/coreos/etcd/internal/mvcc/mvccpb" ) type watchServer struct { @@ -209,7 +209,7 @@ func (sws *serverWatchStream) recvLoop() error { if !sws.isWatchPermitted(creq) { wr := &pb.WatchResponse{ Header: sws.newResponseHeader(sws.watchStream.Rev()), - WatchId: -1, + WatchId: creq.WatchId, Canceled: true, Created: true, CancelReason: rpctypes.ErrGRPCPermissionDenied.Error(), @@ -229,8 +229,8 @@ func (sws *serverWatchStream) recvLoop() error { if rev == 0 { rev = wsrev + 1 } - id := sws.watchStream.Watch(creq.Key, creq.RangeEnd, rev, filters...) - if id != -1 { + id, err := sws.watchStream.Watch(mvcc.WatchID(creq.WatchId), creq.Key, creq.RangeEnd, rev, filters...) + if err == nil { sws.mu.Lock() if creq.ProgressNotify { sws.progress[id] = true @@ -244,7 +244,10 @@ func (sws *serverWatchStream) recvLoop() error { Header: sws.newResponseHeader(wsrev), WatchId: int64(id), Created: true, - Canceled: id == -1, + Canceled: err != nil, + } + if err != nil { + wr.CancelReason = err.Error() } select { case sws.ctrlStream <- wr: diff --git a/vendor/github.com/coreos/etcd/etcdserver/apply.go b/vendor/github.com/coreos/etcd/etcdserver/apply.go index ce4bfbfb..93f5ed04 100644 --- a/vendor/github.com/coreos/etcd/etcdserver/apply.go +++ b/vendor/github.com/coreos/etcd/etcdserver/apply.go @@ -20,11 +20,11 @@ import ( "sort" "time" - "github.com/coreos/etcd/auth" pb "github.com/coreos/etcd/etcdserver/etcdserverpb" - "github.com/coreos/etcd/lease" - "github.com/coreos/etcd/mvcc" - "github.com/coreos/etcd/mvcc/mvccpb" + "github.com/coreos/etcd/internal/auth" + "github.com/coreos/etcd/internal/lease" + "github.com/coreos/etcd/internal/mvcc" + "github.com/coreos/etcd/internal/mvcc/mvccpb" "github.com/coreos/etcd/pkg/types" "github.com/gogo/protobuf/proto" diff --git a/vendor/github.com/coreos/etcd/etcdserver/apply_auth.go b/vendor/github.com/coreos/etcd/etcdserver/apply_auth.go index ec939143..9f3516ee 100644 --- a/vendor/github.com/coreos/etcd/etcdserver/apply_auth.go +++ b/vendor/github.com/coreos/etcd/etcdserver/apply_auth.go @@ -17,10 +17,10 @@ package etcdserver import ( "sync" - "github.com/coreos/etcd/auth" pb "github.com/coreos/etcd/etcdserver/etcdserverpb" - "github.com/coreos/etcd/lease" - "github.com/coreos/etcd/mvcc" + "github.com/coreos/etcd/internal/auth" + "github.com/coreos/etcd/internal/lease" + "github.com/coreos/etcd/internal/mvcc" ) type authApplierV3 struct { diff --git a/vendor/github.com/coreos/etcd/etcdserver/apply_v2.go b/vendor/github.com/coreos/etcd/etcdserver/apply_v2.go index aefe19d2..4607d09d 100644 --- a/vendor/github.com/coreos/etcd/etcdserver/apply_v2.go +++ b/vendor/github.com/coreos/etcd/etcdserver/apply_v2.go @@ -21,8 +21,8 @@ import ( "github.com/coreos/etcd/etcdserver/api" "github.com/coreos/etcd/etcdserver/membership" + "github.com/coreos/etcd/internal/store" "github.com/coreos/etcd/pkg/pbutil" - "github.com/coreos/etcd/store" "github.com/coreos/go-semver/semver" ) diff --git a/vendor/github.com/coreos/etcd/etcdserver/backend.go b/vendor/github.com/coreos/etcd/etcdserver/backend.go index 01a84d04..f6af4cbb 100644 --- a/vendor/github.com/coreos/etcd/etcdserver/backend.go +++ b/vendor/github.com/coreos/etcd/etcdserver/backend.go @@ -19,11 +19,11 @@ import ( "os" "time" - "github.com/coreos/etcd/lease" - "github.com/coreos/etcd/mvcc" - "github.com/coreos/etcd/mvcc/backend" + "github.com/coreos/etcd/internal/lease" + "github.com/coreos/etcd/internal/mvcc" + "github.com/coreos/etcd/internal/mvcc/backend" + "github.com/coreos/etcd/internal/raftsnap" "github.com/coreos/etcd/raft/raftpb" - "github.com/coreos/etcd/snap" ) func newBackend(cfg ServerConfig) backend.Backend { @@ -37,7 +37,7 @@ func newBackend(cfg ServerConfig) backend.Backend { } // openSnapshotBackend renames a snapshot db to the current etcd db and opens it. -func openSnapshotBackend(cfg ServerConfig, ss *snap.Snapshotter, snapshot raftpb.Snapshot) (backend.Backend, error) { +func openSnapshotBackend(cfg ServerConfig, ss *raftsnap.Snapshotter, snapshot raftpb.Snapshot) (backend.Backend, error) { snapPath, err := ss.DBFilePath(snapshot.Metadata.Index) if err != nil { return nil, fmt.Errorf("database snapshot file path error: %v", err) @@ -58,8 +58,8 @@ func openBackend(cfg ServerConfig) backend.Backend { select { case be := <-beOpened: return be - case <-time.After(time.Second): - plog.Warningf("another etcd process is using %q and holds the file lock.", fn) + case <-time.After(10 * time.Second): + plog.Warningf("another etcd process is using %q and holds the file lock, or loading backend file is taking >10 seconds", fn) plog.Warningf("waiting for it to exit before starting...") } return <-beOpened @@ -77,5 +77,5 @@ func recoverSnapshotBackend(cfg ServerConfig, oldbe backend.Backend, snapshot ra return oldbe, nil } oldbe.Close() - return openSnapshotBackend(cfg, snap.New(cfg.SnapDir()), snapshot) + return openSnapshotBackend(cfg, raftsnap.New(cfg.SnapDir()), snapshot) } diff --git a/vendor/github.com/coreos/etcd/etcdserver/cluster_util.go b/vendor/github.com/coreos/etcd/etcdserver/cluster_util.go index f44862a4..bcb9f426 100644 --- a/vendor/github.com/coreos/etcd/etcdserver/cluster_util.go +++ b/vendor/github.com/coreos/etcd/etcdserver/cluster_util.go @@ -23,8 +23,9 @@ import ( "time" "github.com/coreos/etcd/etcdserver/membership" + "github.com/coreos/etcd/internal/version" "github.com/coreos/etcd/pkg/types" - "github.com/coreos/etcd/version" + "github.com/coreos/go-semver/semver" ) diff --git a/vendor/github.com/coreos/etcd/etcdserver/config.go b/vendor/github.com/coreos/etcd/etcdserver/config.go index 249e8d5f..056af745 100644 --- a/vendor/github.com/coreos/etcd/etcdserver/config.go +++ b/vendor/github.com/coreos/etcd/etcdserver/config.go @@ -124,7 +124,8 @@ func (c *ServerConfig) advertiseMatchesCluster() error { sort.Strings(apurls) ctx, cancel := context.WithTimeout(context.TODO(), 30*time.Second) defer cancel() - if netutil.URLStringsEqual(ctx, apurls, urls.StringSlice()) { + ok, err := netutil.URLStringsEqual(ctx, apurls, urls.StringSlice()) + if ok { return nil } @@ -148,7 +149,7 @@ func (c *ServerConfig) advertiseMatchesCluster() error { } mstr := strings.Join(missing, ",") apStr := strings.Join(apurls, ",") - return fmt.Errorf("--initial-cluster has %s but missing from --initial-advertise-peer-urls=%s ", mstr, apStr) + return fmt.Errorf("--initial-cluster has %s but missing from --initial-advertise-peer-urls=%s (%v)", mstr, apStr, err) } for url := range apMap { @@ -156,9 +157,16 @@ func (c *ServerConfig) advertiseMatchesCluster() error { missing = append(missing, url) } } - mstr := strings.Join(missing, ",") + if len(missing) > 0 { + mstr := strings.Join(missing, ",") + umap := types.URLsMap(map[string]types.URLs{c.Name: c.PeerURLs}) + return fmt.Errorf("--initial-advertise-peer-urls has %s but missing from --initial-cluster=%s", mstr, umap.String()) + } + + // resolved URLs from "--initial-advertise-peer-urls" and "--initial-cluster" did not match or failed + apStr := strings.Join(apurls, ",") umap := types.URLsMap(map[string]types.URLs{c.Name: c.PeerURLs}) - return fmt.Errorf("--initial-advertise-peer-urls has %s but missing from --initial-cluster=%s", mstr, umap.String()) + return fmt.Errorf("failed to resolve %s to match --initial-cluster=%s (%v)", apStr, umap.String(), err) } func (c *ServerConfig) MemberDir() string { return filepath.Join(c.DataDir, "member") } diff --git a/vendor/github.com/coreos/etcd/etcdserver/corrupt.go b/vendor/github.com/coreos/etcd/etcdserver/corrupt.go index d998ec59..acd57a65 100644 --- a/vendor/github.com/coreos/etcd/etcdserver/corrupt.go +++ b/vendor/github.com/coreos/etcd/etcdserver/corrupt.go @@ -22,7 +22,7 @@ import ( "github.com/coreos/etcd/clientv3" "github.com/coreos/etcd/etcdserver/api/v3rpc/rpctypes" pb "github.com/coreos/etcd/etcdserver/etcdserverpb" - "github.com/coreos/etcd/mvcc" + "github.com/coreos/etcd/internal/mvcc" "github.com/coreos/etcd/pkg/types" ) diff --git a/vendor/github.com/coreos/etcd/etcdserver/etcdserverpb/rpc.pb.go b/vendor/github.com/coreos/etcd/etcdserver/etcdserverpb/rpc.pb.go index 40147f93..399a23a4 100644 --- a/vendor/github.com/coreos/etcd/etcdserver/etcdserverpb/rpc.pb.go +++ b/vendor/github.com/coreos/etcd/etcdserver/etcdserverpb/rpc.pb.go @@ -12,9 +12,9 @@ import ( _ "github.com/gogo/protobuf/gogoproto" - mvccpb "github.com/coreos/etcd/mvcc/mvccpb" + mvccpb "github.com/coreos/etcd/internal/mvcc/mvccpb" - authpb "github.com/coreos/etcd/auth/authpb" + authpb "github.com/coreos/etcd/internal/auth/authpb" context "golang.org/x/net/context" @@ -1620,6 +1620,12 @@ type WatchCreateRequest struct { // If prev_kv is set, created watcher gets the previous KV before the event happens. // If the previous KV is already compacted, nothing will be returned. PrevKv bool `protobuf:"varint,6,opt,name=prev_kv,json=prevKv,proto3" json:"prev_kv,omitempty"` + // If watch_id is provided and non-zero, it will be assigned to this watcher. + // Since creating a watcher in etcd is not a synchronous operation, + // this can be used ensure that ordering is correct when creating multiple + // watchers on the same stream. Creating a watcher with an ID already in + // use on the stream will cause an error to be returned. + WatchId int64 `protobuf:"varint,7,opt,name=watch_id,json=watchId,proto3" json:"watch_id,omitempty"` } func (m *WatchCreateRequest) Reset() { *m = WatchCreateRequest{} } @@ -1669,6 +1675,13 @@ func (m *WatchCreateRequest) GetPrevKv() bool { return false } +func (m *WatchCreateRequest) GetWatchId() int64 { + if m != nil { + return m.WatchId + } + return 0 +} + type WatchCancelRequest struct { // watch_id is the watcher id to cancel so that no more events are transmitted. WatchId int64 `protobuf:"varint,1,opt,name=watch_id,json=watchId,proto3" json:"watch_id,omitempty"` @@ -2431,6 +2444,10 @@ type StatusResponse struct { RaftIndex uint64 `protobuf:"varint,5,opt,name=raftIndex,proto3" json:"raftIndex,omitempty"` // raftTerm is the current raft term of the responding member. RaftTerm uint64 `protobuf:"varint,6,opt,name=raftTerm,proto3" json:"raftTerm,omitempty"` + // raftAppliedIndex is the current raft applied index of the responding member. + RaftAppliedIndex uint64 `protobuf:"varint,7,opt,name=raftAppliedIndex,proto3" json:"raftAppliedIndex,omitempty"` + // errors contains alarm/health information and status. + Errors []string `protobuf:"bytes,8,rep,name=errors" json:"errors,omitempty"` } func (m *StatusResponse) Reset() { *m = StatusResponse{} } @@ -2480,6 +2497,20 @@ func (m *StatusResponse) GetRaftTerm() uint64 { return 0 } +func (m *StatusResponse) GetRaftAppliedIndex() uint64 { + if m != nil { + return m.RaftAppliedIndex + } + return 0 +} + +func (m *StatusResponse) GetErrors() []string { + if m != nil { + return m.Errors + } + return nil +} + type AuthEnableRequest struct { } @@ -5919,6 +5950,11 @@ func (m *WatchCreateRequest) MarshalTo(dAtA []byte) (int, error) { } i++ } + if m.WatchId != 0 { + dAtA[i] = 0x38 + i++ + i = encodeVarintRpc(dAtA, i, uint64(m.WatchId)) + } return i, nil } @@ -6978,6 +7014,26 @@ func (m *StatusResponse) MarshalTo(dAtA []byte) (int, error) { i++ i = encodeVarintRpc(dAtA, i, uint64(m.RaftTerm)) } + if m.RaftAppliedIndex != 0 { + dAtA[i] = 0x38 + i++ + i = encodeVarintRpc(dAtA, i, uint64(m.RaftAppliedIndex)) + } + if len(m.Errors) > 0 { + for _, s := range m.Errors { + dAtA[i] = 0x42 + i++ + l = len(s) + for l >= 1<<7 { + dAtA[i] = uint8(uint64(l)&0x7f | 0x80) + l >>= 7 + i++ + } + dAtA[i] = uint8(l) + i++ + i += copy(dAtA[i:], s) + } + } return i, nil } @@ -8408,6 +8464,9 @@ func (m *WatchCreateRequest) Size() (n int) { if m.PrevKv { n += 2 } + if m.WatchId != 0 { + n += 1 + sovRpc(uint64(m.WatchId)) + } return n } @@ -8838,6 +8897,15 @@ func (m *StatusResponse) Size() (n int) { if m.RaftTerm != 0 { n += 1 + sovRpc(uint64(m.RaftTerm)) } + if m.RaftAppliedIndex != 0 { + n += 1 + sovRpc(uint64(m.RaftAppliedIndex)) + } + if len(m.Errors) > 0 { + for _, s := range m.Errors { + l = len(s) + n += 1 + l + sovRpc(uint64(l)) + } + } return n } @@ -12309,6 +12377,25 @@ func (m *WatchCreateRequest) Unmarshal(dAtA []byte) error { } } m.PrevKv = bool(v != 0) + case 7: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field WatchId", wireType) + } + m.WatchId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRpc + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.WatchId |= (int64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } default: iNdEx = preIndex skippy, err := skipRpc(dAtA[iNdEx:]) @@ -15443,6 +15530,54 @@ func (m *StatusResponse) Unmarshal(dAtA []byte) error { break } } + case 7: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field RaftAppliedIndex", wireType) + } + m.RaftAppliedIndex = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRpc + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.RaftAppliedIndex |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + case 8: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Errors", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRpc + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthRpc + } + postIndex := iNdEx + intStringLen + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Errors = append(m.Errors, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipRpc(dAtA[iNdEx:]) @@ -18431,235 +18566,237 @@ var ( func init() { proto.RegisterFile("rpc.proto", fileDescriptorRpc) } var fileDescriptorRpc = []byte{ - // 3669 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x5b, 0x5b, 0x6f, 0x23, 0xc7, - 0x72, 0xd6, 0x90, 0x22, 0x29, 0x16, 0x2f, 0xe2, 0xb6, 0xb4, 0xbb, 0x14, 0x77, 0x57, 0xab, 0xed, - 0xbd, 0x69, 0x2f, 0x16, 0x6d, 0xd9, 0xc9, 0xc3, 0x26, 0x30, 0xac, 0x95, 0xe8, 0x95, 0x2c, 0xad, - 0x24, 0x8f, 0xa8, 0xb5, 0x03, 0x38, 0x11, 0x46, 0x64, 0x4b, 0x62, 0x44, 0xce, 0x30, 0x33, 0x43, - 0xae, 0xb4, 0x31, 0x12, 0xc0, 0x71, 0x82, 0xbc, 0xe4, 0x25, 0x06, 0x82, 0xc4, 0xaf, 0x41, 0x60, - 0xf8, 0x07, 0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de, 0x9b, 0x67, - 0xbd, 0x79, 0x46, 0x61, 0xdd, 0x8b, 0x50, 0xe9, 0x75, 0xcc, 0x83, 0x9e, 0xd5, 0x3e, 0xf0, 0x1c, - 0x02, 0xcc, 0x21, 0xe5, 0x5e, 0xc7, 0x7c, 0x69, 0xb5, 0x75, 0xe9, 0x16, 0xca, 0x69, 0x9c, 0x05, - 0x39, 0x0b, 0x82, 0xd3, 0x38, 0x53, 0x39, 0x97, 0x60, 0x86, 0xca, 0x6c, 0xd9, 0xc4, 0x70, 0x89, - 0xcf, 0x5c, 0x64, 0xcc, 0x57, 0x7a, 0x1d, 0x73, 0x95, 0xf5, 0x04, 0xf8, 0x8d, 0xb3, 0x08, 0x7f, - 0x49, 0xf0, 0x1b, 0x67, 0x41, 0x7e, 0xbc, 0x04, 0x79, 0xcf, 0xe7, 0x68, 0x0a, 0x26, 0xb7, 0x77, - 0xb6, 0x1b, 0x95, 0x09, 0x04, 0x90, 0x5d, 0xd9, 0x5b, 0x6d, 0x6c, 0xaf, 0x55, 0x34, 0x54, 0x80, - 0xdc, 0x5a, 0x83, 0x37, 0x52, 0xf8, 0x39, 0x80, 0xef, 0x5d, 0x94, 0x83, 0xf4, 0x66, 0xe3, 0xcf, - 0x2a, 0x13, 0x94, 0xe7, 0x55, 0x43, 0xdf, 0xdb, 0xd8, 0xd9, 0xae, 0x68, 0x74, 0xf0, 0xaa, 0xde, - 0x58, 0x69, 0x36, 0x2a, 0x29, 0xca, 0xf1, 0x72, 0x67, 0xad, 0x92, 0x46, 0x79, 0xc8, 0xbc, 0x5a, - 0xd9, 0xda, 0x6f, 0x54, 0x26, 0xf1, 0x57, 0x1a, 0x94, 0xc4, 0x7a, 0xf1, 0x98, 0x40, 0xef, 0x41, - 0xf6, 0x84, 0xc5, 0x05, 0xdb, 0x8a, 0x85, 0xe5, 0x9b, 0xa1, 0xc5, 0x0d, 0xc4, 0x8e, 0x2e, 0x78, - 0x11, 0x86, 0xf4, 0xe9, 0xd0, 0x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x5f, 0xca, 0x0b, 0xe2, - 0x8e, 0x90, 0x82, 0x9f, 0xc0, 0x55, 0xc9, 0x29, 0xc0, 0xbd, 0x11, 0xcc, 0x3b, 0x70, 0x4b, 0x32, - 0xaf, 0x9e, 0xd0, 0xdb, 0xd3, 0xae, 0x50, 0xf8, 0x43, 0xed, 0x7c, 0x0e, 0x55, 0xcf, 0x4e, 0x76, - 0x58, 0xb6, 0xba, 0xaa, 0x01, 0x03, 0x47, 0xec, 0x99, 0xbc, 0xce, 0xbe, 0x29, 0xcd, 0xb6, 0xba, - 0xde, 0x91, 0x80, 0x7e, 0xe3, 0x55, 0x98, 0x93, 0x32, 0xc4, 0x31, 0x36, 0x28, 0x24, 0x62, 0x50, - 0x9c, 0x10, 0xe1, 0x30, 0x3a, 0x74, 0xb4, 0xdb, 0x55, 0xce, 0xa0, 0x6b, 0x99, 0x4c, 0x4d, 0x91, - 0x79, 0x95, 0xef, 0x08, 0x6a, 0x98, 0x5a, 0x31, 0x04, 0x99, 0x0a, 0x50, 0xc9, 0x62, 0x21, 0x28, - 0x39, 0xb2, 0x10, 0x11, 0xd1, 0x9f, 0xc1, 0xbc, 0x67, 0x04, 0xf5, 0xdb, 0x2e, 0xb1, 0x7b, 0x1d, - 0xc7, 0x51, 0xe0, 0xa0, 0xb8, 0x89, 0x3f, 0x80, 0xc9, 0x3e, 0x11, 0x39, 0xa5, 0xb0, 0x8c, 0x96, - 0xf8, 0xfb, 0xed, 0x92, 0x32, 0x98, 0xf5, 0xe3, 0x36, 0xdc, 0x96, 0xd2, 0xb9, 0x47, 0x63, 0xc5, - 0x87, 0x8d, 0x92, 0xb7, 0x6e, 0xee, 0xd6, 0xe8, 0xad, 0x3b, 0xcd, 0xd7, 0xde, 0x83, 0x28, 0x3f, - 0xe2, 0x8e, 0x94, 0xb1, 0x35, 0x56, 0xad, 0xd8, 0xe4, 0x3e, 0xf5, 0x42, 0x72, 0x2c, 0x61, 0x87, - 0x30, 0x1b, 0x8c, 0xe4, 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 0x19, 0x12, - 0x55, 0x67, 0xe0, 0x1a, 0xf5, 0xe9, 0x50, 0x00, 0x66, 0x3c, 0xcc, 0x50, 0x9c, 0xc0, 0x00, 0xaa, - 0x1a, 0xde, 0x21, 0x31, 0x88, 0x2a, 0xc6, 0x4c, 0xe7, 0x4d, 0x7c, 0x5d, 0xf1, 0x2c, 0x57, 0x6b, - 0x33, 0x46, 0xaa, 0xf7, 0xef, 0x34, 0x28, 0x07, 0x71, 0x51, 0x74, 0x37, 0x46, 0x72, 0x18, 0x5e, - 0xad, 0xdd, 0x1b, 0xcd, 0x94, 0x64, 0x01, 0x57, 0x7f, 0x4a, 0x48, 0xdf, 0xa0, 0x8c, 0xc2, 0xf1, - 0xe8, 0x1f, 0x34, 0x98, 0x0e, 0x81, 0x9d, 0x28, 0x4e, 0x43, 0x04, 0x4a, 0xad, 0xdd, 0xbf, 0x80, - 0x4b, 0x18, 0xf2, 0x80, 0x19, 0xb2, 0x80, 0x6f, 0x44, 0x5c, 0xe1, 0x76, 0x7a, 0xc4, 0xb5, 0x84, - 0x31, 0xde, 0x32, 0x70, 0x60, 0x32, 0x76, 0x19, 0x02, 0x40, 0x67, 0xec, 0x32, 0x04, 0x51, 0xcd, - 0x11, 0xcb, 0xc0, 0xd1, 0x48, 0xba, 0xc5, 0x7f, 0x97, 0x86, 0xdc, 0x2a, 0xff, 0x05, 0x22, 0x72, - 0x20, 0xef, 0x21, 0x80, 0x68, 0x3e, 0x0e, 0x8d, 0xf1, 0x6f, 0x0b, 0xb5, 0xdb, 0x89, 0xfd, 0x42, - 0xfb, 0x7d, 0xa6, 0xfd, 0x36, 0xae, 0x49, 0xed, 0xe2, 0x87, 0x8e, 0x75, 0x7e, 0xed, 0xaf, 0x1b, - 0xed, 0x36, 0x9d, 0xf8, 0xdf, 0x42, 0x51, 0x85, 0xe9, 0xd0, 0x9d, 0x58, 0x14, 0x48, 0x45, 0xfa, - 0x6a, 0x78, 0x14, 0x8b, 0xd0, 0xbe, 0xc8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 0x82, 0xb0, - 0x2f, 0x03, 0xbf, 0x45, 0x08, 0xfb, 0x32, 0xf8, 0xd3, 0x83, 0xcb, 0x69, 0x72, 0x61, 0x4a, 0x3e, - 0xde, 0xa3, 0x5b, 0xa1, 0xa5, 0x09, 0x3e, 0xf4, 0xd7, 0xe6, 0x93, 0xba, 0x85, 0xbe, 0x87, 0x4c, - 0xdf, 0x1d, 0x7c, 0x33, 0x76, 0xed, 0x04, 0xf7, 0x33, 0xed, 0xf1, 0xdb, 0x1a, 0x2d, 0x13, 0xe0, - 0x83, 0xac, 0x91, 0xe8, 0x08, 0xe3, 0xb5, 0x91, 0xe8, 0x88, 0xe0, 0xb3, 0x78, 0x99, 0x29, 0x7f, - 0x8a, 0x1f, 0xc6, 0x29, 0x77, 0x6d, 0xc3, 0x74, 0x8e, 0x88, 0xfd, 0x16, 0x07, 0xd3, 0x9c, 0x93, - 0x4e, 0x9f, 0x46, 0xca, 0xef, 0xa7, 0x61, 0x92, 0x9e, 0x47, 0x69, 0x79, 0xf6, 0xaf, 0xf1, 0x61, - 0x6b, 0x22, 0xe0, 0x59, 0xd8, 0x9a, 0x28, 0x02, 0x10, 0x2d, 0xcf, 0xec, 0xb7, 0xe6, 0x84, 0x31, - 0x51, 0xaf, 0x3b, 0x50, 0x50, 0xee, 0xfa, 0x28, 0x46, 0x60, 0x10, 0x99, 0x0b, 0xd7, 0x85, 0x18, - 0xa0, 0x00, 0xdf, 0x66, 0x3a, 0xe7, 0xf0, 0x6c, 0x40, 0x67, 0x9b, 0x73, 0x51, 0xa5, 0x7f, 0x0d, - 0x45, 0x15, 0x13, 0x40, 0x31, 0x32, 0x43, 0xc8, 0x5f, 0x38, 0x25, 0xc6, 0x41, 0x0a, 0xd1, 0xec, - 0xe0, 0xfd, 0xae, 0x5e, 0xb2, 0x52, 0xe5, 0x7d, 0xc8, 0x09, 0xa0, 0x20, 0x6e, 0xb6, 0x41, 0xa8, - 0x30, 0x6e, 0xb6, 0x21, 0x94, 0x21,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, 0xc2, 0x39, 0x28, - 0x41, 0xe0, 0x05, 0x21, 0x18, 0x46, 0x83, 0x12, 0x42, 0x90, 0x29, 0x55, 0x42, 0xd0, 0x07, 0x5f, - 0xe2, 0x42, 0x30, 0x82, 0x88, 0xc7, 0x85, 0x60, 0x14, 0xbf, 0x49, 0x58, 0x57, 0xa6, 0x3b, 0x10, - 0x82, 0x33, 0x31, 0x58, 0x0d, 0x7a, 0x9a, 0xe0, 0xd0, 0x58, 0xb0, 0xbd, 0xf6, 0xd6, 0x25, 0xb9, - 0x47, 0xee, 0x7d, 0xbe, 0x14, 0x72, 0xef, 0x7f, 0xad, 0xc1, 0x6c, 0x1c, 0xd6, 0x83, 0x12, 0x74, - 0x25, 0x00, 0xf5, 0xb5, 0xa5, 0xcb, 0xb2, 0x5f, 0xec, 0x35, 0x2f, 0x1a, 0x9e, 0x57, 0xfe, 0xfb, - 0xbb, 0x79, 0xed, 0xff, 0xbe, 0x9b, 0xd7, 0x7e, 0xf1, 0xdd, 0xbc, 0xf6, 0xaf, 0xbf, 0x9c, 0x9f, - 0x38, 0xcc, 0xb2, 0xff, 0xe1, 0xf5, 0xee, 0x1f, 0x02, 0x00, 0x00, 0xff, 0xff, 0x74, 0x55, 0x61, - 0xe6, 0x68, 0x36, 0x00, 0x00, + // 3708 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x5b, 0x5b, 0x6f, 0x1b, 0x49, + 0x76, 0x56, 0x93, 0xe2, 0xed, 0xf0, 0x22, 0xba, 0x24, 0xdb, 0x34, 0x6d, 0xcb, 0x72, 0xf9, 0x26, + 0x5f, 0x46, 0xdc, 0xd5, 0x6e, 0xf2, 0xe0, 0x04, 0x8b, 0x95, 0x25, 0xae, 0xa5, 0x95, 0x2c, 0x69, + 0x5b, 0x94, 0x67, 0x02, 0x6c, 0x22, 0xb4, 0xc8, 0x92, 0xd4, 0x11, 0xd9, 0x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x97, 0xca, + 0xab, 0x68, 0x85, 0x7f, 0x1e, 0x5e, 0x51, 0x26, 0xb3, 0xf7, 0xb8, 0x07, 0x0f, 0xa4, 0x74, 0xee, + 0xd1, 0x44, 0xf1, 0x51, 0xa3, 0xe4, 0xa5, 0x9e, 0xbb, 0x35, 0x7e, 0xa9, 0xcf, 0xf2, 0xbd, 0xf7, + 0x11, 0xd0, 0x1f, 0x73, 0x47, 0xca, 0xd8, 0x9a, 0xaa, 0xde, 0x6c, 0x73, 0x9f, 0xfa, 0x21, 0x39, + 0x95, 0xb0, 0x63, 0x58, 0x08, 0x47, 0xf2, 0x54, 0xa9, 0x70, 0x01, 0x72, 0x9e, 0x7d, 0x4e, 0x64, + 0x22, 0xe4, 0x03, 0x69, 0xb0, 0x1f, 0xe6, 0x53, 0x19, 0x6c, 0x04, 0xc2, 0xd8, 0x91, 0x9c, 0xd6, + 0x5e, 0xba, 0x9b, 0xb2, 0x81, 0xe3, 0x03, 0xbc, 0x0b, 0xb7, 0xa2, 0x69, 0x62, 0x2a, 0x93, 0xdf, + 0xf3, 0x03, 0x9c, 0x94, 0x49, 0xa6, 0x92, 0xfb, 0x93, 0x20, 0x19, 0x28, 0x09, 0x65, 0x2a, 0x91, + 0x3a, 0x34, 0x93, 0xf2, 0xcb, 0xd7, 0x71, 0x5e, 0xfd, 0x74, 0x33, 0x95, 0x30, 0x37, 0x10, 0x36, + 0xfd, 0xf6, 0x07, 0x39, 0x22, 0x3b, 0x31, 0x47, 0x88, 0x20, 0x09, 0xb2, 0xd8, 0x37, 0x70, 0xe8, + 0x84, 0x8e, 0x20, 0x81, 0x4e, 0xab, 0x83, 0xd6, 0x10, 0x5f, 0x07, 0x1b, 0xc8, 0x83, 0xad, 0xa6, + 0xdd, 0xa9, 0x36, 0xe3, 0xd3, 0x20, 0x77, 0xc6, 0x32, 0xf3, 0x54, 0x82, 0x3f, 0x83, 0xa5, 0xf4, + 0xa4, 0x3c, 0x8d, 0xe4, 0x17, 0x2d, 0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 0x3f, 0x90, 0x0f, 0xcd, 0x04, 0xe8, + 0x3c, 0x65, 0xf3, 0x43, 0xf8, 0x34, 0x6e, 0x30, 0x65, 0x08, 0x57, 0xa5, 0x32, 0x86, 0x33, 0xbf, + 0xd6, 0x5e, 0x2c, 0x6b, 0xdf, 0xd1, 0x56, 0xff, 0x67, 0x16, 0x72, 0x0c, 0x72, 0x42, 0x36, 0x40, + 0x80, 0xc8, 0x46, 0x57, 0x19, 0xc3, 0x78, 0xa3, 0xab, 0x8c, 0x83, 0xb9, 0x78, 0x91, 0x29, 0x6e, + 0xe0, 0x79, 0xa9, 0x98, 0xa1, 0x59, 0x2d, 0x06, 0xd0, 0x51, 0x9f, 0x8e, 0x05, 0xe8, 0xc6, 0xc3, + 0x0c, 0x25, 0x09, 0x0c, 0x21, 0xb3, 0xd1, 0x13, 0x92, 0x80, 0xca, 0x62, 0xcc, 0x74, 0xde, 0xc3, + 0xb7, 0x15, 0xcf, 0x72, 0xb5, 0x0e, 0x63, 0xa4, 0x7a, 0xff, 0x4c, 0x83, 0x5a, 0x18, 0x5b, 0x45, + 0x8f, 0x12, 0x24, 0x47, 0x21, 0xda, 0xe6, 0xe3, 0xc9, 0x4c, 0x69, 0x16, 0x70, 0xf5, 0xe7, 0x84, + 0x0c, 0x0d, 0xca, 0x28, 0x1c, 0x8f, 0xfe, 0x42, 0x83, 0xb9, 0x08, 0x60, 0x8a, 0x92, 0x34, 0xc4, + 0xe0, 0xd8, 0xe6, 0x93, 0x2b, 0xb8, 0x84, 0x21, 0x4f, 0x99, 0x21, 0x4b, 0xf8, 0x6e, 0xcc, 0x15, + 0x9e, 0x39, 0x20, 0x9e, 0x2d, 0x8c, 0xf1, 0xb7, 0x81, 0x83, 0x9b, 0x89, 0xdb, 0x10, 0x02, 0x4b, + 0x13, 0xb7, 0x21, 0x8c, 0x8c, 0x4e, 0xd8, 0x06, 0x8e, 0x68, 0xd2, 0x23, 0xfe, 0x7f, 0x59, 0x28, + 0xac, 0xf3,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, 0x04, + 0x86, 0x91, 0xb9, 0x68, 0x5d, 0x48, 0x00, 0x0a, 0xf0, 0x03, 0xa6, 0xf3, 0x0e, 0x5e, 0x08, 0xe9, + 0xec, 0x71, 0x2e, 0xaa, 0xf4, 0x8f, 0xa1, 0xa2, 0x62, 0x02, 0x28, 0x41, 0x66, 0x04, 0xf9, 0x8b, + 0xa6, 0xc4, 0x24, 0x48, 0x21, 0x9e, 0x1d, 0xfc, 0x9f, 0xed, 0x4b, 0x56, 0xaa, 0x7c, 0x08, 0x05, + 0x01, 0x14, 0x24, 0xad, 0x36, 0x0c, 0x15, 0x26, 0xad, 0x36, 0x82, 0x32, 0xc4, 0xdb, 0x3c, 0xa6, + 0x95, 0xde, 0x87, 0x64, 0x09, 0x12, 0x1a, 0xdf, 0x12, 0x2f, 0x4d, 0x63, 0x80, 0x7d, 0xa5, 0x69, + 0x54, 0xee, 0xa2, 0x93, 0x34, 0x9e, 0x12, 0x4f, 0xc4, 0x92, 0xbc, 0xe7, 0xa1, 0x14, 0x81, 0x6a, + 0xca, 0xc7, 0x93, 0x58, 0xd2, 0xba, 0xf2, 0x40, 0xa9, 0xc8, 0xf7, 0xe8, 0x67, 0x00, 0x01, 0xa4, + 0x11, 0xed, 0xb6, 0x12, 0x71, 0xd1, 0x68, 0xb7, 0x95, 0x8c, 0x8a, 0xc4, 0xf3, 0x47, 0xa0, 0x9b, + 0x5f, 0x0c, 0xa8, 0xf6, 0xbf, 0xd5, 0x00, 0xc5, 0x11, 0x10, 0xf4, 0x32, 0x59, 0x43, 0x22, 0xe2, + 0xda, 0x7c, 0x75, 0x3d, 0xe6, 0xb4, 0x12, 0x11, 0x98, 0xd5, 0x65, 0x33, 0x86, 0x1f, 0xa8, 0x61, + 0xbf, 0xd0, 0xa0, 0x1a, 0x82, 0x50, 0xd0, 0xd3, 0x94, 0x3d, 0x8e, 0x80, 0xb6, 0xcd, 0x67, 0x57, + 0xf2, 0xa5, 0x75, 0x62, 0xca, 0x89, 0x90, 0x8d, 0xf8, 0x5f, 0x6a, 0x50, 0x0b, 0xc3, 0x2e, 0x28, + 0x45, 0x7e, 0x0c, 0xf8, 0x6d, 0x2e, 0x5f, 0xcd, 0x78, 0xf5, 0x56, 0x05, 0xbd, 0xf9, 0x10, 0x0a, + 0x02, 0xac, 0x49, 0x0a, 0x88, 0x30, 0x6c, 0x9c, 0x14, 0x10, 0x11, 0xa4, 0x27, 0x25, 0x20, 0x1c, + 0xbb, 0x4f, 0x94, 0x10, 0x14, 0x88, 0x4e, 0x9a, 0xc6, 0xc9, 0x21, 0x18, 0x81, 0x83, 0x26, 0x69, + 0x0c, 0x42, 0x50, 0xc2, 0x39, 0x28, 0x45, 0xe0, 0x15, 0x21, 0x18, 0x45, 0x83, 0x52, 0x42, 0x90, + 0x29, 0x55, 0x42, 0x30, 0x00, 0x5f, 0x92, 0x42, 0x30, 0x86, 0x88, 0x27, 0x85, 0x60, 0x1c, 0xbf, + 0x49, 0xd9, 0x57, 0xa6, 0x3b, 0x14, 0x82, 0xf3, 0x09, 0x58, 0x0d, 0x7a, 0x95, 0xe2, 0xd0, 0x44, + 0xb0, 0xbd, 0xf9, 0xc9, 0x35, 0xb9, 0x27, 0x9e, 0x7d, 0xbe, 0x15, 0xf2, 0xec, 0xff, 0x83, 0x06, + 0x0b, 0x49, 0x58, 0x0f, 0x4a, 0xd1, 0x95, 0x02, 0xd4, 0x37, 0x57, 0xae, 0xcb, 0x7e, 0xb5, 0xd7, + 0xfc, 0x68, 0x78, 0x53, 0xff, 0x97, 0x2f, 0x16, 0xb5, 0x7f, 0xfb, 0x62, 0x51, 0xfb, 0x8f, 0x2f, + 0x16, 0xb5, 0xbf, 0xfb, 0xcf, 0xc5, 0x99, 0xe3, 0x3c, 0xfb, 0x0f, 0x64, 0xdf, 0xfb, 0x4d, 0x00, + 0x00, 0x00, 0xff, 0xff, 0x80, 0x82, 0x49, 0x96, 0xd9, 0x36, 0x00, 0x00, } diff --git a/vendor/github.com/coreos/etcd/etcdserver/metrics.go b/vendor/github.com/coreos/etcd/etcdserver/metrics.go index 6bf12f9d..c86d27a8 100644 --- a/vendor/github.com/coreos/etcd/etcdserver/metrics.go +++ b/vendor/github.com/coreos/etcd/etcdserver/metrics.go @@ -17,8 +17,9 @@ package etcdserver import ( "time" + "github.com/coreos/etcd/internal/version" "github.com/coreos/etcd/pkg/runtime" - "github.com/coreos/etcd/version" + "github.com/prometheus/client_golang/prometheus" ) diff --git a/vendor/github.com/coreos/etcd/etcdserver/raft.go b/vendor/github.com/coreos/etcd/etcdserver/raft.go index e6bb723c..ff11349f 100644 --- a/vendor/github.com/coreos/etcd/etcdserver/raft.go +++ b/vendor/github.com/coreos/etcd/etcdserver/raft.go @@ -73,6 +73,7 @@ func init() { type RaftTimer interface { Index() uint64 + AppliedIndex() uint64 Term() uint64 } @@ -91,9 +92,10 @@ type raftNode struct { // Cache of the latest raft index and raft term the server has seen. // These three unit64 fields must be the first elements to keep 64-bit // alignment for atomic access to the fields. - index uint64 - term uint64 - lead uint64 + index uint64 + appliedindex uint64 + term uint64 + lead uint64 raftNodeConfig diff --git a/vendor/github.com/coreos/etcd/etcdserver/server.go b/vendor/github.com/coreos/etcd/etcdserver/server.go index c876ec1b..ca75d3a2 100644 --- a/vendor/github.com/coreos/etcd/etcdserver/server.go +++ b/vendor/github.com/coreos/etcd/etcdserver/server.go @@ -29,19 +29,22 @@ import ( "sync/atomic" "time" - "github.com/coreos/etcd/alarm" - "github.com/coreos/etcd/auth" - "github.com/coreos/etcd/compactor" - "github.com/coreos/etcd/discovery" "github.com/coreos/etcd/etcdserver/api" "github.com/coreos/etcd/etcdserver/api/v2http/httptypes" pb "github.com/coreos/etcd/etcdserver/etcdserverpb" "github.com/coreos/etcd/etcdserver/membership" "github.com/coreos/etcd/etcdserver/stats" - "github.com/coreos/etcd/lease" - "github.com/coreos/etcd/lease/leasehttp" - "github.com/coreos/etcd/mvcc" - "github.com/coreos/etcd/mvcc/backend" + "github.com/coreos/etcd/internal/alarm" + "github.com/coreos/etcd/internal/auth" + "github.com/coreos/etcd/internal/compactor" + "github.com/coreos/etcd/internal/discovery" + "github.com/coreos/etcd/internal/lease" + "github.com/coreos/etcd/internal/lease/leasehttp" + "github.com/coreos/etcd/internal/mvcc" + "github.com/coreos/etcd/internal/mvcc/backend" + "github.com/coreos/etcd/internal/raftsnap" + "github.com/coreos/etcd/internal/store" + "github.com/coreos/etcd/internal/version" "github.com/coreos/etcd/pkg/fileutil" "github.com/coreos/etcd/pkg/idutil" "github.com/coreos/etcd/pkg/pbutil" @@ -52,9 +55,6 @@ import ( "github.com/coreos/etcd/raft" "github.com/coreos/etcd/raft/raftpb" "github.com/coreos/etcd/rafthttp" - "github.com/coreos/etcd/snap" - "github.com/coreos/etcd/store" - "github.com/coreos/etcd/version" "github.com/coreos/etcd/wal" "github.com/coreos/go-semver/semver" @@ -206,7 +206,7 @@ type EtcdServer struct { cluster *membership.RaftCluster store store.Store - snapshotter *snap.Snapshotter + snapshotter *raftsnap.Snapshotter applyV2 ApplierV2 @@ -279,7 +279,7 @@ func NewServer(cfg ServerConfig) (srv *EtcdServer, err error) { if err = fileutil.TouchDirAll(cfg.SnapDir()); err != nil { plog.Fatalf("create snapshot directory error: %v", err) } - ss := snap.New(cfg.SnapDir()) + ss := raftsnap.New(cfg.SnapDir()) bepath := cfg.backendPath() beExist := fileutil.Exist(bepath) @@ -373,7 +373,7 @@ func NewServer(cfg ServerConfig) (srv *EtcdServer, err error) { plog.Warningf("discovery token ignored since a cluster has already been initialized. Valid log found at %q", cfg.WALDir()) } snapshot, err = ss.Load() - if err != nil && err != snap.ErrNoSnapshot { + if err != nil && err != raftsnap.ErrNoSnapshot { return nil, err } if snapshot != nil { @@ -1170,6 +1170,8 @@ func (s *EtcdServer) UpdateMember(ctx context.Context, memb membership.Member) ( func (s *EtcdServer) Index() uint64 { return atomic.LoadUint64(&s.r.index) } +func (s *EtcdServer) AppliedIndex() uint64 { return atomic.LoadUint64(&s.r.appliedindex) } + func (s *EtcdServer) Term() uint64 { return atomic.LoadUint64(&s.r.term) } // Lead is only for testing purposes. @@ -1264,7 +1266,7 @@ func (s *EtcdServer) publish(timeout time.Duration) { } } -func (s *EtcdServer) sendMergedSnap(merged snap.Message) { +func (s *EtcdServer) sendMergedSnap(merged raftsnap.Message) { atomic.AddInt64(&s.inflightSnapshots, 1) s.r.transport.SendSnapshot(merged) @@ -1667,6 +1669,7 @@ func (s *EtcdServer) getAppliedIndex() uint64 { func (s *EtcdServer) setAppliedIndex(v uint64) { atomic.StoreUint64(&s.appliedIndex, v) + atomic.StoreUint64(&s.r.appliedindex, v) } func (s *EtcdServer) getCommittedIndex() uint64 { diff --git a/vendor/github.com/coreos/etcd/etcdserver/snapshot_merge.go b/vendor/github.com/coreos/etcd/etcdserver/snapshot_merge.go index 928aa95b..20894e81 100644 --- a/vendor/github.com/coreos/etcd/etcdserver/snapshot_merge.go +++ b/vendor/github.com/coreos/etcd/etcdserver/snapshot_merge.go @@ -17,15 +17,15 @@ package etcdserver import ( "io" - "github.com/coreos/etcd/mvcc/backend" + "github.com/coreos/etcd/internal/mvcc/backend" + "github.com/coreos/etcd/internal/raftsnap" "github.com/coreos/etcd/raft/raftpb" - "github.com/coreos/etcd/snap" ) // createMergedSnapshotMessage creates a snapshot message that contains: raft status (term, conf), // a snapshot of v2 store inside raft.Snapshot as []byte, a snapshot of v3 KV in the top level message // as ReadCloser. -func (s *EtcdServer) createMergedSnapshotMessage(m raftpb.Message, snapt, snapi uint64, confState raftpb.ConfState) snap.Message { +func (s *EtcdServer) createMergedSnapshotMessage(m raftpb.Message, snapt, snapi uint64, confState raftpb.ConfState) raftsnap.Message { // get a snapshot of v2 store as []byte clone := s.store.Clone() d, err := clone.SaveNoCopy() @@ -51,7 +51,7 @@ func (s *EtcdServer) createMergedSnapshotMessage(m raftpb.Message, snapt, snapi } m.Snapshot = snapshot - return *snap.NewMessage(m, rc, dbsnap.Size()) + return *raftsnap.NewMessage(m, rc, dbsnap.Size()) } func newSnapshotReaderCloser(snapshot backend.Snapshot) io.ReadCloser { diff --git a/vendor/github.com/coreos/etcd/etcdserver/storage.go b/vendor/github.com/coreos/etcd/etcdserver/storage.go index 55c2dd4b..b567c518 100644 --- a/vendor/github.com/coreos/etcd/etcdserver/storage.go +++ b/vendor/github.com/coreos/etcd/etcdserver/storage.go @@ -18,10 +18,10 @@ import ( "io" pb "github.com/coreos/etcd/etcdserver/etcdserverpb" + "github.com/coreos/etcd/internal/raftsnap" "github.com/coreos/etcd/pkg/pbutil" "github.com/coreos/etcd/pkg/types" "github.com/coreos/etcd/raft/raftpb" - "github.com/coreos/etcd/snap" "github.com/coreos/etcd/wal" "github.com/coreos/etcd/wal/walpb" ) @@ -38,10 +38,10 @@ type Storage interface { type storage struct { *wal.WAL - *snap.Snapshotter + *raftsnap.Snapshotter } -func NewStorage(w *wal.WAL, s *snap.Snapshotter) Storage { +func NewStorage(w *wal.WAL, s *raftsnap.Snapshotter) Storage { return &storage{w, s} } diff --git a/vendor/github.com/coreos/etcd/etcdserver/v2_server.go b/vendor/github.com/coreos/etcd/etcdserver/v2_server.go index 4b027f18..986959fe 100644 --- a/vendor/github.com/coreos/etcd/etcdserver/v2_server.go +++ b/vendor/github.com/coreos/etcd/etcdserver/v2_server.go @@ -19,7 +19,7 @@ import ( "time" pb "github.com/coreos/etcd/etcdserver/etcdserverpb" - "github.com/coreos/etcd/store" + "github.com/coreos/etcd/internal/store" ) type RequestV2 pb.Request diff --git a/vendor/github.com/coreos/etcd/etcdserver/v3_server.go b/vendor/github.com/coreos/etcd/etcdserver/v3_server.go index 1f24f272..d506b1ab 100644 --- a/vendor/github.com/coreos/etcd/etcdserver/v3_server.go +++ b/vendor/github.com/coreos/etcd/etcdserver/v3_server.go @@ -20,12 +20,12 @@ import ( "encoding/binary" "time" - "github.com/coreos/etcd/auth" pb "github.com/coreos/etcd/etcdserver/etcdserverpb" "github.com/coreos/etcd/etcdserver/membership" - "github.com/coreos/etcd/lease" - "github.com/coreos/etcd/lease/leasehttp" - "github.com/coreos/etcd/mvcc" + "github.com/coreos/etcd/internal/auth" + "github.com/coreos/etcd/internal/lease" + "github.com/coreos/etcd/internal/lease/leasehttp" + "github.com/coreos/etcd/internal/mvcc" "github.com/coreos/etcd/raft" "github.com/gogo/protobuf/proto" diff --git a/vendor/github.com/coreos/etcd/auth/authpb/auth.pb.go b/vendor/github.com/coreos/etcd/internal/auth/authpb/auth.pb.go similarity index 100% rename from vendor/github.com/coreos/etcd/auth/authpb/auth.pb.go rename to vendor/github.com/coreos/etcd/internal/auth/authpb/auth.pb.go diff --git a/vendor/github.com/coreos/etcd/auth/doc.go b/vendor/github.com/coreos/etcd/internal/auth/doc.go similarity index 100% rename from vendor/github.com/coreos/etcd/auth/doc.go rename to vendor/github.com/coreos/etcd/internal/auth/doc.go diff --git a/vendor/github.com/coreos/etcd/auth/jwt.go b/vendor/github.com/coreos/etcd/internal/auth/jwt.go similarity index 100% rename from vendor/github.com/coreos/etcd/auth/jwt.go rename to vendor/github.com/coreos/etcd/internal/auth/jwt.go diff --git a/vendor/github.com/coreos/etcd/auth/range_perm_cache.go b/vendor/github.com/coreos/etcd/internal/auth/range_perm_cache.go similarity index 97% rename from vendor/github.com/coreos/etcd/auth/range_perm_cache.go rename to vendor/github.com/coreos/etcd/internal/auth/range_perm_cache.go index 691b65ba..24123935 100644 --- a/vendor/github.com/coreos/etcd/auth/range_perm_cache.go +++ b/vendor/github.com/coreos/etcd/internal/auth/range_perm_cache.go @@ -15,8 +15,8 @@ package auth import ( - "github.com/coreos/etcd/auth/authpb" - "github.com/coreos/etcd/mvcc/backend" + "github.com/coreos/etcd/internal/auth/authpb" + "github.com/coreos/etcd/internal/mvcc/backend" "github.com/coreos/etcd/pkg/adt" ) diff --git a/vendor/github.com/coreos/etcd/auth/simple_token.go b/vendor/github.com/coreos/etcd/internal/auth/simple_token.go similarity index 100% rename from vendor/github.com/coreos/etcd/auth/simple_token.go rename to vendor/github.com/coreos/etcd/internal/auth/simple_token.go diff --git a/vendor/github.com/coreos/etcd/auth/store.go b/vendor/github.com/coreos/etcd/internal/auth/store.go similarity index 99% rename from vendor/github.com/coreos/etcd/auth/store.go rename to vendor/github.com/coreos/etcd/internal/auth/store.go index d379ffa8..7796c5d8 100644 --- a/vendor/github.com/coreos/etcd/auth/store.go +++ b/vendor/github.com/coreos/etcd/internal/auth/store.go @@ -24,9 +24,9 @@ import ( "sync" "sync/atomic" - "github.com/coreos/etcd/auth/authpb" pb "github.com/coreos/etcd/etcdserver/etcdserverpb" - "github.com/coreos/etcd/mvcc/backend" + "github.com/coreos/etcd/internal/auth/authpb" + "github.com/coreos/etcd/internal/mvcc/backend" "github.com/coreos/pkg/capnslog" "golang.org/x/crypto/bcrypt" diff --git a/vendor/github.com/coreos/etcd/mvcc/doc.go b/vendor/github.com/coreos/etcd/internal/mvcc/doc.go similarity index 100% rename from vendor/github.com/coreos/etcd/mvcc/doc.go rename to vendor/github.com/coreos/etcd/internal/mvcc/doc.go diff --git a/vendor/github.com/coreos/etcd/mvcc/index.go b/vendor/github.com/coreos/etcd/internal/mvcc/index.go similarity index 100% rename from vendor/github.com/coreos/etcd/mvcc/index.go rename to vendor/github.com/coreos/etcd/internal/mvcc/index.go diff --git a/vendor/github.com/coreos/etcd/mvcc/key_index.go b/vendor/github.com/coreos/etcd/internal/mvcc/key_index.go similarity index 100% rename from vendor/github.com/coreos/etcd/mvcc/key_index.go rename to vendor/github.com/coreos/etcd/internal/mvcc/key_index.go diff --git a/vendor/github.com/coreos/etcd/mvcc/kv.go b/vendor/github.com/coreos/etcd/internal/mvcc/kv.go similarity index 97% rename from vendor/github.com/coreos/etcd/mvcc/kv.go rename to vendor/github.com/coreos/etcd/internal/mvcc/kv.go index 2dad3ad8..e8cb1dec 100644 --- a/vendor/github.com/coreos/etcd/mvcc/kv.go +++ b/vendor/github.com/coreos/etcd/internal/mvcc/kv.go @@ -15,9 +15,9 @@ package mvcc import ( - "github.com/coreos/etcd/lease" - "github.com/coreos/etcd/mvcc/backend" - "github.com/coreos/etcd/mvcc/mvccpb" + "github.com/coreos/etcd/internal/lease" + "github.com/coreos/etcd/internal/mvcc/backend" + "github.com/coreos/etcd/internal/mvcc/mvccpb" ) type RangeOptions struct { diff --git a/vendor/github.com/coreos/etcd/mvcc/kv_view.go b/vendor/github.com/coreos/etcd/internal/mvcc/kv_view.go similarity index 96% rename from vendor/github.com/coreos/etcd/mvcc/kv_view.go rename to vendor/github.com/coreos/etcd/internal/mvcc/kv_view.go index f40ba8ed..8269a727 100644 --- a/vendor/github.com/coreos/etcd/mvcc/kv_view.go +++ b/vendor/github.com/coreos/etcd/internal/mvcc/kv_view.go @@ -14,9 +14,7 @@ package mvcc -import ( - "github.com/coreos/etcd/lease" -) +import "github.com/coreos/etcd/internal/lease" type readView struct{ kv KV } diff --git a/vendor/github.com/coreos/etcd/mvcc/kvstore.go b/vendor/github.com/coreos/etcd/internal/mvcc/kvstore.go similarity index 98% rename from vendor/github.com/coreos/etcd/mvcc/kvstore.go rename to vendor/github.com/coreos/etcd/internal/mvcc/kvstore.go index 486365a9..54bb2047 100644 --- a/vendor/github.com/coreos/etcd/mvcc/kvstore.go +++ b/vendor/github.com/coreos/etcd/internal/mvcc/kvstore.go @@ -24,9 +24,9 @@ import ( "sync/atomic" "time" - "github.com/coreos/etcd/lease" - "github.com/coreos/etcd/mvcc/backend" - "github.com/coreos/etcd/mvcc/mvccpb" + "github.com/coreos/etcd/internal/lease" + "github.com/coreos/etcd/internal/mvcc/backend" + "github.com/coreos/etcd/internal/mvcc/mvccpb" "github.com/coreos/etcd/pkg/schedule" "github.com/coreos/pkg/capnslog" ) diff --git a/vendor/github.com/coreos/etcd/mvcc/kvstore_compaction.go b/vendor/github.com/coreos/etcd/internal/mvcc/kvstore_compaction.go similarity index 100% rename from vendor/github.com/coreos/etcd/mvcc/kvstore_compaction.go rename to vendor/github.com/coreos/etcd/internal/mvcc/kvstore_compaction.go diff --git a/vendor/github.com/coreos/etcd/mvcc/kvstore_txn.go b/vendor/github.com/coreos/etcd/internal/mvcc/kvstore_txn.go similarity index 97% rename from vendor/github.com/coreos/etcd/mvcc/kvstore_txn.go rename to vendor/github.com/coreos/etcd/internal/mvcc/kvstore_txn.go index 8896fb86..6d839a1a 100644 --- a/vendor/github.com/coreos/etcd/mvcc/kvstore_txn.go +++ b/vendor/github.com/coreos/etcd/internal/mvcc/kvstore_txn.go @@ -15,9 +15,9 @@ package mvcc import ( - "github.com/coreos/etcd/lease" - "github.com/coreos/etcd/mvcc/backend" - "github.com/coreos/etcd/mvcc/mvccpb" + "github.com/coreos/etcd/internal/lease" + "github.com/coreos/etcd/internal/mvcc/backend" + "github.com/coreos/etcd/internal/mvcc/mvccpb" ) type storeTxnRead struct { diff --git a/vendor/github.com/coreos/etcd/mvcc/metrics.go b/vendor/github.com/coreos/etcd/internal/mvcc/metrics.go similarity index 100% rename from vendor/github.com/coreos/etcd/mvcc/metrics.go rename to vendor/github.com/coreos/etcd/internal/mvcc/metrics.go diff --git a/vendor/github.com/coreos/etcd/mvcc/metrics_txn.go b/vendor/github.com/coreos/etcd/internal/mvcc/metrics_txn.go similarity index 97% rename from vendor/github.com/coreos/etcd/mvcc/metrics_txn.go rename to vendor/github.com/coreos/etcd/internal/mvcc/metrics_txn.go index 911d6487..8f81f45e 100644 --- a/vendor/github.com/coreos/etcd/mvcc/metrics_txn.go +++ b/vendor/github.com/coreos/etcd/internal/mvcc/metrics_txn.go @@ -15,7 +15,7 @@ package mvcc import ( - "github.com/coreos/etcd/lease" + "github.com/coreos/etcd/internal/lease" ) type metricsTxnWrite struct { diff --git a/vendor/github.com/coreos/etcd/mvcc/mvccpb/kv.pb.go b/vendor/github.com/coreos/etcd/internal/mvcc/mvccpb/kv.pb.go similarity index 100% rename from vendor/github.com/coreos/etcd/mvcc/mvccpb/kv.pb.go rename to vendor/github.com/coreos/etcd/internal/mvcc/mvccpb/kv.pb.go diff --git a/vendor/github.com/coreos/etcd/mvcc/revision.go b/vendor/github.com/coreos/etcd/internal/mvcc/revision.go similarity index 100% rename from vendor/github.com/coreos/etcd/mvcc/revision.go rename to vendor/github.com/coreos/etcd/internal/mvcc/revision.go diff --git a/vendor/github.com/coreos/etcd/mvcc/util.go b/vendor/github.com/coreos/etcd/internal/mvcc/util.go similarity index 93% rename from vendor/github.com/coreos/etcd/mvcc/util.go rename to vendor/github.com/coreos/etcd/internal/mvcc/util.go index 8a0df0bf..1eb05005 100644 --- a/vendor/github.com/coreos/etcd/mvcc/util.go +++ b/vendor/github.com/coreos/etcd/internal/mvcc/util.go @@ -17,8 +17,8 @@ package mvcc import ( "encoding/binary" - "github.com/coreos/etcd/mvcc/backend" - "github.com/coreos/etcd/mvcc/mvccpb" + "github.com/coreos/etcd/internal/mvcc/backend" + "github.com/coreos/etcd/internal/mvcc/mvccpb" ) func UpdateConsistentIndex(be backend.Backend, index uint64) { diff --git a/vendor/github.com/coreos/etcd/mvcc/watchable_store.go b/vendor/github.com/coreos/etcd/internal/mvcc/watchable_store.go similarity index 98% rename from vendor/github.com/coreos/etcd/mvcc/watchable_store.go rename to vendor/github.com/coreos/etcd/internal/mvcc/watchable_store.go index 2d854594..34d4d326 100644 --- a/vendor/github.com/coreos/etcd/mvcc/watchable_store.go +++ b/vendor/github.com/coreos/etcd/internal/mvcc/watchable_store.go @@ -18,9 +18,9 @@ import ( "sync" "time" - "github.com/coreos/etcd/lease" - "github.com/coreos/etcd/mvcc/backend" - "github.com/coreos/etcd/mvcc/mvccpb" + "github.com/coreos/etcd/internal/lease" + "github.com/coreos/etcd/internal/mvcc/backend" + "github.com/coreos/etcd/internal/mvcc/mvccpb" ) // non-const so modifiable by tests diff --git a/vendor/github.com/coreos/etcd/mvcc/watchable_store_txn.go b/vendor/github.com/coreos/etcd/internal/mvcc/watchable_store_txn.go similarity index 96% rename from vendor/github.com/coreos/etcd/mvcc/watchable_store_txn.go rename to vendor/github.com/coreos/etcd/internal/mvcc/watchable_store_txn.go index 5c5bfda1..9c66e533 100644 --- a/vendor/github.com/coreos/etcd/mvcc/watchable_store_txn.go +++ b/vendor/github.com/coreos/etcd/internal/mvcc/watchable_store_txn.go @@ -14,9 +14,7 @@ package mvcc -import ( - "github.com/coreos/etcd/mvcc/mvccpb" -) +import "github.com/coreos/etcd/internal/mvcc/mvccpb" func (tw *watchableStoreTxnWrite) End() { changes := tw.Changes() diff --git a/vendor/github.com/coreos/etcd/mvcc/watcher.go b/vendor/github.com/coreos/etcd/internal/mvcc/watcher.go similarity index 79% rename from vendor/github.com/coreos/etcd/mvcc/watcher.go rename to vendor/github.com/coreos/etcd/internal/mvcc/watcher.go index bc0c6322..9b79aa80 100644 --- a/vendor/github.com/coreos/etcd/mvcc/watcher.go +++ b/vendor/github.com/coreos/etcd/internal/mvcc/watcher.go @@ -19,11 +19,17 @@ import ( "errors" "sync" - "github.com/coreos/etcd/mvcc/mvccpb" + "github.com/coreos/etcd/internal/mvcc/mvccpb" ) +// AutoWatchID is the watcher ID passed in WatchStream.Watch when no +// user-provided ID is available. If pass, an ID will automatically be assigned. +const AutoWatchID WatchID = 0 + var ( - ErrWatcherNotExist = errors.New("mvcc: watcher does not exist") + ErrWatcherNotExist = errors.New("mvcc: watcher does not exist") + ErrEmptyWatcherRange = errors.New("mvcc: watcher range is empty") + ErrWatcherDuplicateID = errors.New("mvcc: duplicate watch ID provided on the WatchStream") ) type WatchID int64 @@ -36,12 +42,13 @@ type WatchStream interface { // happened on the given key or range [key, end) from the given startRev. // // The whole event history can be watched unless compacted. - // If `startRev` <=0, watch observes events after currentRev. + // If "startRev" <=0, watch observes events after currentRev. // - // The returned `id` is the ID of this watcher. It appears as WatchID + // The returned "id" is the ID of this watcher. It appears as WatchID // in events that are sent to the created watcher through stream channel. - // - Watch(key, end []byte, startRev int64, fcs ...FilterFunc) WatchID + // The watch ID is used when it's not equal to AutoWatchID. Otherwise, + // an auto-generated watch ID is returned. + Watch(id WatchID, key, end []byte, startRev int64, fcs ...FilterFunc) (WatchID, error) // Chan returns a chan. All watch response will be sent to the returned chan. Chan() <-chan WatchResponse @@ -98,28 +105,34 @@ type watchStream struct { } // Watch creates a new watcher in the stream and returns its WatchID. -// TODO: return error if ws is closed? -func (ws *watchStream) Watch(key, end []byte, startRev int64, fcs ...FilterFunc) WatchID { +func (ws *watchStream) Watch(id WatchID, key, end []byte, startRev int64, fcs ...FilterFunc) (WatchID, error) { // prevent wrong range where key >= end lexicographically // watch request with 'WithFromKey' has empty-byte range end if len(end) != 0 && bytes.Compare(key, end) != -1 { - return -1 + return -1, ErrEmptyWatcherRange } ws.mu.Lock() defer ws.mu.Unlock() if ws.closed { - return -1 + return -1, ErrEmptyWatcherRange } - id := ws.nextID - ws.nextID++ + if id == AutoWatchID { + for ws.watchers[ws.nextID] != nil { + ws.nextID++ + } + id = ws.nextID + ws.nextID++ + } else if _, ok := ws.watchers[id]; ok { + return -1, ErrWatcherDuplicateID + } w, c := ws.watchable.watch(key, end, startRev, id, ws.ch, fcs...) ws.cancels[id] = c ws.watchers[id] = w - return id + return id, nil } func (ws *watchStream) Chan() <-chan WatchResponse { diff --git a/vendor/github.com/coreos/etcd/mvcc/watcher_group.go b/vendor/github.com/coreos/etcd/internal/mvcc/watcher_group.go similarity index 99% rename from vendor/github.com/coreos/etcd/mvcc/watcher_group.go rename to vendor/github.com/coreos/etcd/internal/mvcc/watcher_group.go index 6ef1d0ce..d56daff0 100644 --- a/vendor/github.com/coreos/etcd/mvcc/watcher_group.go +++ b/vendor/github.com/coreos/etcd/internal/mvcc/watcher_group.go @@ -17,7 +17,7 @@ package mvcc import ( "math" - "github.com/coreos/etcd/mvcc/mvccpb" + "github.com/coreos/etcd/internal/mvcc/mvccpb" "github.com/coreos/etcd/pkg/adt" ) diff --git a/vendor/github.com/coreos/etcd/pkg/netutil/netutil.go b/vendor/github.com/coreos/etcd/pkg/netutil/netutil.go index 6f7b56ab..e3db8c50 100644 --- a/vendor/github.com/coreos/etcd/pkg/netutil/netutil.go +++ b/vendor/github.com/coreos/etcd/pkg/netutil/netutil.go @@ -17,6 +17,7 @@ package netutil import ( "context" + "fmt" "net" "net/url" "reflect" @@ -73,14 +74,14 @@ func resolveTCPAddrs(ctx context.Context, urls [][]url.URL) ([][]url.URL, error) for i, u := range us { nu, err := url.Parse(u.String()) if err != nil { - return nil, err + return nil, fmt.Errorf("failed to parse %q (%v)", u.String(), err) } nus[i] = *nu } for i, u := range nus { h, err := resolveURL(ctx, u) if err != nil { - return nil, err + return nil, fmt.Errorf("failed to resolve %q (%v)", u.String(), err) } if h != "" { nus[i].Host = h @@ -123,35 +124,41 @@ func resolveURL(ctx context.Context, u url.URL) (string, error) { // urlsEqual checks equality of url.URLS between two arrays. // This check pass even if an URL is in hostname and opposite is in IP address. -func urlsEqual(ctx context.Context, a []url.URL, b []url.URL) bool { +func urlsEqual(ctx context.Context, a []url.URL, b []url.URL) (bool, error) { if len(a) != len(b) { - return false + return false, fmt.Errorf("len(%q) != len(%q)", urlsToStrings(a), urlsToStrings(b)) } urls, err := resolveTCPAddrs(ctx, [][]url.URL{a, b}) if err != nil { - return false + return false, err } + preva, prevb := a, b a, b = urls[0], urls[1] sort.Sort(types.URLs(a)) sort.Sort(types.URLs(b)) for i := range a { if !reflect.DeepEqual(a[i], b[i]) { - return false + return false, fmt.Errorf("%q(resolved from %q) != %q(resolved from %q)", + a[i].String(), preva[i].String(), + b[i].String(), prevb[i].String(), + ) } } - - return true + return true, nil } -func URLStringsEqual(ctx context.Context, a []string, b []string) bool { +// URLStringsEqual returns "true" if given URLs are valid +// and resolved to same IP addresses. Otherwise, return "false" +// and error, if any. +func URLStringsEqual(ctx context.Context, a []string, b []string) (bool, error) { if len(a) != len(b) { - return false + return false, fmt.Errorf("len(%q) != len(%q)", a, b) } urlsA := make([]url.URL, 0) for _, str := range a { u, err := url.Parse(str) if err != nil { - return false + return false, fmt.Errorf("failed to parse %q", str) } urlsA = append(urlsA, *u) } @@ -159,14 +166,21 @@ func URLStringsEqual(ctx context.Context, a []string, b []string) bool { for _, str := range b { u, err := url.Parse(str) if err != nil { - return false + return false, fmt.Errorf("failed to parse %q", str) } urlsB = append(urlsB, *u) } - return urlsEqual(ctx, urlsA, urlsB) } +func urlsToStrings(us []url.URL) []string { + rs := make([]string, len(us)) + for i := range us { + rs[i] = us[i].String() + } + return rs +} + func IsNetworkTimeoutError(err error) bool { nerr, ok := err.(net.Error) return ok && nerr.Timeout()