Skip to content
This repository has been archived by the owner on Jul 1, 2023. It is now read-only.

Commit

Permalink
bump etcd to latest 3.4.x release (#620)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin Nisbet authored Apr 27, 2020
1 parent ef14d84 commit 14cd009
Show file tree
Hide file tree
Showing 11 changed files with 88 additions and 23 deletions.
6 changes: 3 additions & 3 deletions Gopkg.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Gopkg.toml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ ignored = ["github.com/gravitational/planet/build/*"]

[[override]]
name = "github.com/etcd-io/etcd"
version = "3.4.3"
version = "=3.4.7"

[[constraint]]
name = "github.com/docker/docker"
Expand Down
6 changes: 4 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -59,13 +59,15 @@ PLANET_GID ?= 980665
# v3.3.11 - 5.5.x,
# v3.3.12 - 6.3.x, 6.1.x, 5.5.x
# v3.3.15 - 6.3.x
# v3.3.20 - 6.3.x, 6.1.x, 5.5.x
# v3.4.3 - 7.0.x
ETCD_VER := v3.3.12 v3.3.15 v3.4.3
# v3.4.7 - 7.0.x
ETCD_VER := v3.3.12 v3.3.15 v3.4.3 v3.4.7
# This is the version of etcd we should upgrade to (from the version list)
# Note: When bumping the ETCD_LATEST_VERSION, please ensure that:
# - The version of etcd vendored as a library is the same (Gopkg.toml)
# - Modify build.go and run the etcd upgrade integration test (go run mage.go ci:testEtcdUpgrade)
ETCD_LATEST_VER := v3.4.3
ETCD_LATEST_VER := v3.4.7

BUILDBOX_GO_VER ?= 1.12.9
PLANET_BUILD_TAG ?= $(shell git describe --tags)
Expand Down
2 changes: 1 addition & 1 deletion build.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ type Test mg.Namespace
func (Test) TestEtcdUpgrade() error {
// The "to" version should match what etcd is built with
// TODO(knisbet) integrate this variable with etcd versions set in Makefile
err := upgrade.TestUpgradeBetweenVersions("v3.3.3", "v3.4.3")
err := upgrade.TestUpgradeBetweenVersions("v3.3.3", "v3.4.7")
return trace.Wrap(err)
}
8 changes: 0 additions & 8 deletions vendor/go.etcd.io/etcd/clientv3/client.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

64 changes: 64 additions & 0 deletions vendor/go.etcd.io/etcd/clientv3/ctx.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions vendor/go.etcd.io/etcd/clientv3/retry_interceptor.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions vendor/go.etcd.io/etcd/etcdserver/api/v3rpc/rpctypes/md.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 7 additions & 2 deletions vendor/go.etcd.io/etcd/lease/lessor.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 3 additions & 5 deletions vendor/go.etcd.io/etcd/mvcc/kvstore.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion vendor/go.etcd.io/etcd/version/version.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 14cd009

Please sign in to comment.