Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[openshift-4.3]: bump etcd to v3.3.17 #20

Merged
merged 125 commits into from
Oct 24, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
125 commits
Select commit Hold shift + click to select a range
6f250f9
version: 3.3.10+git
gyuho Oct 10, 2018
3a7b8b3
travis: use Go 1.10.7
gyuho Dec 18, 2018
59cc0f9
grpcproxy: fix memory leak
Dec 15, 2018
e6b2f00
Merge pull request #10335 from gyuho/release-3.3-patch
gyuho Dec 18, 2018
c7f744d
auth: disable CommonName auth for gRPC-gateway
hexfusion Jan 2, 2019
1590373
auth: fix cherry-pick
hexfusion Jan 8, 2019
2cf9e51
version: 3.3.11
gyuho Jan 11, 2019
410a879
version: 3.3.11+git
gyuho Feb 7, 2019
e634184
etcdctl: fix strings.HasPrefix args order
quasilyte Feb 1, 2019
d57e8b8
version: 3.3.12
gyuho Feb 7, 2019
c696442
travis.yml: update Go 1.10.8
gyuho Feb 7, 2019
ec22eb9
raft: cherry pick of #8334 to release-3.3
lishuai87 Dec 28, 2018
7814718
etcdserver: Use panic instead of fatal on no space left error
purpleidea Mar 27, 2019
ad5e169
Merge pull request #10597 from purpleidea/3.3/fatal-corruption
gyuho Mar 29, 2019
332e995
travis: fix tests by using proper code path
hexfusion Apr 11, 2019
43386ac
*: Change gRPC proxy to expose etcd server endpoint /metrics
hexfusion Apr 9, 2019
cf4836f
wal: add Verify function to perform corruption check on wal contents
shreyas-s-rao Mar 1, 2019
e206a8b
wal: Add test for Verify
shreyas-s-rao Mar 12, 2019
38bf1bd
mvcc: fix db_compaction_total_duration_milliseconds
yingnanzhang666 Apr 15, 2019
5f4a455
Merge pull request #10656 from jpbetz/automated-cherry-pick-of-#10646…
jpbetz Apr 18, 2019
69e0daf
client: Replace ugorji/codec with json-iterator/go
dims Apr 22, 2019
20bd0c0
scripts: Remove generated code and script
dims Apr 22, 2019
02ccf20
vendor: Add json-iterator and its dependencies
dims Apr 22, 2019
7ff7e0a
*: update bill-of-materials
dims Apr 23, 2019
6e91e35
client: Switch to case sensitive unmarshalling to be compatible with …
dims Apr 23, 2019
6499c14
vendor: Run scripts/updatedeps.sh to cleanup unused code
dims Apr 23, 2019
ad7c2cd
vendor: add missing files
dims Apr 24, 2019
c46aa44
Documentation metadata for 3.3 branch (#10692)
lucperkins Apr 30, 2019
f179d4d
etcdserver: improve heartbeat send failures logging
gyuho May 2, 2019
b7001c0
clientv3: fix race condition in "Endpoints" methods
gyuho May 2, 2019
98d3084
version: bump up 3.3.13
gyuho May 2, 2019
8ed3e70
etcd: Replace ghodss/yaml with sigs.k8s.io/yaml
rohitsardesai83 May 12, 2019
b0babe5
Merge pull request #10718 from rohitsardesai83/release-3.3
gyuho May 29, 2019
f835a85
ctlv3: support "write-out" for "endpoint health" command
gyuho Apr 6, 2018
8942970
Merge pull request #10782 from jingyih/cherrypick_9540_to_release3p3
gyuho Jun 4, 2019
d005486
ctlv3: add missing newline in EndpointHealth
jingyih Jun 4, 2019
5832014
Merge pull request #10793 from jingyih/automated-cherry-pick-of-#1078…
gyuho Jun 5, 2019
9f1d6ca
Raft HTTP: fix pause/resume race condition
yznima Jun 17, 2019
d12f132
Merge pull request #10827 from yznima/pr-race-3.3
gyuho Jul 23, 2019
789ff21
Merge pull request #10570 from sbenderli/cherry-pick-of-#8334
gyuho Jul 23, 2019
1c8fab7
etcdserver/api: add "etcd_network_snapshot_send_inflights_total", "et…
gyuho Aug 8, 2019
4527f4c
etcdserver: add "etcd_server_snapshot_apply_inflights_total"
gyuho Aug 8, 2019
3aef9a1
travis: update
gyuho Aug 9, 2019
0b37ae0
pkg: clean up code format
gyuho Jul 21, 2018
266214d
pkg/adt: add "visitLevel", make "IntervalTree" interface, more tests
gyuho Jul 30, 2019
594e7d6
pkg/adt: README initial commit
gyuho Jul 30, 2019
d938435
pkg/adt: README "IntervalTree.Delete" test case images
gyuho Jul 30, 2019
b315236
pkg/adt: test node "11" deletion
gyuho Jul 30, 2019
f4341fd
pkg/adt: add "IntervalTree.Delete" failure case
gyuho Jul 30, 2019
c25f746
pkg/adt: mask test failure, add TODO
gyuho Aug 1, 2019
33e4877
pkg/adt: document textbook implementation with pseudo-code
gyuho Aug 1, 2019
036bd1a
pkg/adt: fix interval tree black-height property based on rbtree
Aug 5, 2019
ffe90b9
pkg/adt: remove TODO
gyuho Aug 5, 2019
0812410
*: use new adt.IntervalTree interface
gyuho Aug 1, 2019
cc1591a
Makefile/build: sync with 3.4 branch
gyuho Aug 14, 2019
d7fc66b
scripts: update release, genproto, dep
gyuho Aug 14, 2019
27cf72b
go.mod: migrate to Go module
gyuho Aug 14, 2019
830bba3
vendor: regenerate, upgrade gRPC to 1.23.0
gyuho Aug 14, 2019
9f7294f
etcdserver/etcdserverpb/rpc.proto: add watch progress/fragment
gyuho Aug 14, 2019
d167714
*: regenerate proto
gyuho Aug 14, 2019
92a7504
tests: update
gyuho Aug 14, 2019
5a678bb
etcdserver/api/v3rpc: support watch fragmentation
gyuho Aug 14, 2019
7eb9a29
pkg/*: add
gyuho Aug 14, 2019
a317433
raft: fix compile error in "Panic"
gyuho Aug 14, 2019
9561f6b
clientv3: rewrite based on 3.4
gyuho Aug 14, 2019
e5c2dff
etcdserver: detect leader change on reads
gyuho Aug 14, 2019
dbfc7bd
integration: update
gyuho Aug 14, 2019
f68fac6
travis.yml: fix, run e2e
gyuho Aug 14, 2019
6e37ece
functional: update
gyuho Aug 14, 2019
b889245
integration: fix "HashKVRequest"
gyuho Aug 14, 2019
0ddda8c
integration: fix tests
gyuho Aug 14, 2019
61065db
build: remove tools
gyuho Aug 14, 2019
be3babf
tests/e2e: fix
gyuho Aug 14, 2019
84508f7
test: fix repo path
gyuho Aug 14, 2019
37d10dd
travis: skip windows build
gyuho Aug 14, 2019
3c2b1cd
travis: do not run functional for now
gyuho Aug 14, 2019
0e96b34
auth: fix tests
gyuho Aug 14, 2019
e16b21b
functional: add back, travis
gyuho Aug 14, 2019
4f1e654
travis: fix functional tests
gyuho Aug 14, 2019
c7c09c6
test: bump up timeout for e2e tests
gyuho Aug 14, 2019
33668f4
test: do not run "v2store" tests
gyuho Aug 14, 2019
082c5e0
e2e: move
gyuho Aug 14, 2019
95a5c57
tests/e2e: add missing curl
gyuho Aug 14, 2019
1aa4af8
version: 3.3.14-beta.0
gyuho Aug 14, 2019
b196734
*: test with Go 1.12.9
gyuho Aug 15, 2019
b9c976e
gitignore: track vendor directory
gyuho Aug 15, 2019
d65219c
go.mod: regenerate
gyuho Aug 15, 2019
2f3aa89
vendor: regenerate
gyuho Aug 15, 2019
9dd98b7
version: 3.3.14-rc.0
gyuho Aug 15, 2019
af8cb6c
Documentation/upgrades: special upgrade guides for >= 3.3.14
gyuho Aug 16, 2019
5cf5d88
version: 3.3.14
gyuho Aug 16, 2019
aa1e17a
go.mod: remove, change back to "glide"
gyuho Aug 19, 2019
e94188b
vendor: regenerate
gyuho Aug 19, 2019
94745a4
version: 3.3.15
gyuho Aug 19, 2019
81fc7c2
*: fix gofmt
jingyih Aug 20, 2019
74cf4ae
scripts: fix updatebom.sh
jingyih Aug 20, 2019
ffb43df
bom: regenerate
jingyih Aug 20, 2019
9244d2b
vendor: update bbolt to v1.3.3
jingyih Aug 20, 2019
7f067ce
Merge pull request #11055 from jingyih/fix_gofmt_bom
gyuho Aug 20, 2019
a4f18a4
Merge pull request #11056 from jingyih/update_bbolt
gyuho Aug 20, 2019
8a8efa7
mvcc: add store revision metrics
jingyih Sep 5, 2019
943832a
Merge pull request #11134 from jingyih/automated-cherry-pick-of-#1112…
jingyih Sep 7, 2019
86b1686
etcdserver: cherry-pick skip client san verification option for 3.3 v…
andyliuliming Oct 3, 2019
d851911
etcdserver: add unit test.
andyliuliming Oct 3, 2019
02a27c0
etcdctl: fix member add command
jingyih Oct 3, 2019
1be7ab4
Merge pull request #11201 from jingyih/automated-cherry-pick-of-#1119…
gyuho Oct 3, 2019
4b227b6
clientv3: Replace endpoint.ParseHostPort with net.SplitHostPort to fi…
jpbetz Oct 8, 2019
7558b41
Merge pull request #11216 from jpbetz/automated-cherry-pick-of-#11211…
jpbetz Oct 9, 2019
a2f585d
clientv3: Set authority used in cert checks to host of endpoint
jpbetz Sep 25, 2019
ef61a56
Merge pull request #11215 from jpbetz/automated-cherry-pick-of-#11184…
jpbetz Oct 9, 2019
a311a80
helper document update.
andyliuliming Oct 9, 2019
011bd86
Merge pull request #11196 from andyliuliming/release-3.3-cherry
gyuho Oct 9, 2019
3fae828
vendor: v3.3.16
jpbetz Oct 10, 2019
3827d6b
scripts: use https for git clone.
YoyinZyc Oct 10, 2019
5e4d852
Merge pull request #11236 from YoyinZyc/change-git-clone
gyuho Oct 11, 2019
6d80523
version: v3.3.17
jpbetz Oct 11, 2019
da72322
version: openshift-v4.0
hexfusion Nov 29, 2018
aca63f4
Dockerfile: add etcdctl
hexfusion Feb 20, 2019
9453509
Dockerfile.*: Fix "etcd is distributed" -> "etcd is a distributed"
wking Feb 7, 2019
169cbd5
Dockerfile: resolve issue where binary was not properly copied from b…
hexfusion Feb 20, 2019
7a0c204
OWNERS: add
hexfusion May 5, 2019
49b3ba8
Dockerfile: set coreos org as canonical for release-3.3
hexfusion May 4, 2019
de6b8a9
Dockerfile: bump golang to 1.11
hexfusion Jul 9, 2019
be82b48
Dockerfile: use build instead of make build
hexfusion Aug 29, 2019
af8d37c
Dockerfile: bump golang 1.12
hexfusion Sep 23, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 0 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@
.git
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
/coverage
/covdir
/docs
/vendor
/gopath
/gopath.proto
/go-bindata
Expand Down
57 changes: 25 additions & 32 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,68 +6,61 @@ sudo: required
services: docker

go:
- 1.10.4
- 1.12.9

env:
- GO111MODULE=on

notifications:
on_success: never
on_failure: never

env:
matrix:
- TARGET=linux-amd64-integration
- TARGET=linux-amd64-integration-1-cpu
- TARGET=linux-amd64-integration-4-cpu
- TARGET=linux-amd64-functional
- TARGET=linux-amd64-unit
- TARGET=linux-amd64-e2e
- TARGET=all-build
- TARGET=linux-386-unit

matrix:
fast_finish: true
allow_failures:
- go: 1.10.4
env: TARGET=linux-386-unit
exclude:
- go: tip
- go: 1.12.9
env: TARGET=linux-386-unit

before_install:
- if [[ $TRAVIS_GO_VERSION == 1.* ]]; then docker pull gcr.io/etcd-development/etcd-test:go${TRAVIS_GO_VERSION}; fi

install:
- pushd cmd/etcd && go get -t -v ./... && popd
- go get -t -v -d ./...

script:
- echo "TRAVIS_GO_VERSION=${TRAVIS_GO_VERSION}"
- >
case "${TARGET}" in
linux-amd64-integration)
docker run --rm \
--volume=`pwd`:/go/src/github.com/coreos/etcd gcr.io/etcd-development/etcd-test:go${TRAVIS_GO_VERSION} \
/bin/bash -c "GOARCH=amd64 PASSES='integration' ./test"
linux-amd64-integration-1-cpu)
GOARCH=amd64 CPU=1 PASSES='integration' ./test
;;
linux-amd64-integration-4-cpu)
GOARCH=amd64 CPU=4 PASSES='integration' ./test
;;
linux-amd64-functional)
docker run --rm \
--volume=`pwd`:/go/src/github.com/coreos/etcd gcr.io/etcd-development/etcd-test:go${TRAVIS_GO_VERSION} \
/bin/bash -c "./build && GOARCH=amd64 PASSES='functional' ./test"
./build && GOARCH=amd64 PASSES='functional' ./test
;;
linux-amd64-unit)
docker run --rm \
--volume=`pwd`:/go/src/github.com/coreos/etcd gcr.io/etcd-development/etcd-test:go${TRAVIS_GO_VERSION} \
/bin/bash -c "GOARCH=amd64 PASSES='unit' ./test"
./build && GOARCH=amd64 PASSES='unit' ./test
;;
linux-amd64-e2e)
GOARCH=amd64 PASSES='build release e2e' MANUAL_VER=v3.3.13 ./test
;;
all-build)
docker run --rm \
--volume=`pwd`:/go/src/github.com/coreos/etcd gcr.io/etcd-development/etcd-test:go${TRAVIS_GO_VERSION} \
/bin/bash -c "GOARCH=amd64 PASSES='build' ./test \
&& GOARCH=386 PASSES='build' ./test \
&& GO_BUILD_FLAGS='-v' GOOS=darwin GOARCH=amd64 ./build \
&& GO_BUILD_FLAGS='-v' GOOS=windows GOARCH=amd64 ./build \
&& GO_BUILD_FLAGS='-v' GOARCH=arm ./build \
&& GO_BUILD_FLAGS='-v' GOARCH=arm64 ./build \
&& GO_BUILD_FLAGS='-v' GOARCH=ppc64le ./build"
GOARCH=386 PASSES='build' ./test \
&& GO_BUILD_FLAGS='-v' GOOS=darwin GOARCH=amd64 ./build \
&& GO_BUILD_FLAGS='-v' GOARCH=arm ./build \
&& GO_BUILD_FLAGS='-v' GOARCH=arm64 ./build \
&& GO_BUILD_FLAGS='-v' GOARCH=ppc64le ./build
;;
linux-386-unit)
docker run --rm \
--volume=`pwd`:/go/src/github.com/coreos/etcd gcr.io/etcd-development/etcd-test:go${TRAVIS_GO_VERSION} \
/bin/bash -c "GOARCH=386 PASSES='unit' ./test"
GOARCH=386 ./build && GOARCH=386 PASSES='unit' ./test
;;
esac
2 changes: 1 addition & 1 deletion .words
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@ too_many_pings
uncontended
unprefixed
unlisting

WithDialer
746 changes: 0 additions & 746 deletions CHANGELOG.md

This file was deleted.

19 changes: 19 additions & 0 deletions Dockerfile.openshift
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
FROM registry.svc.ci.openshift.org/openshift/release:golang-1.12 AS builder

WORKDIR /go/src/github.com/coreos/etcd

COPY . .

RUN ./build

# stage 2
FROM registry.svc.ci.openshift.org/openshift/origin-v4.0:base

ENTRYPOINT ["/usr/bin/etcd"]

COPY --from=builder /go/src/github.com/coreos/etcd/bin/etcd /usr/bin/
COPY --from=builder /go/src/github.com/coreos/etcd/bin/etcdctl /usr/bin/

LABEL io.k8s.display-name="etcd server" \
io.k8s.description="etcd is a distributed key-value store which stores the persistent master state for Kubernetes and OpenShift." \
maintainer="Sam Batschelet <[email protected]>"
19 changes: 19 additions & 0 deletions Dockerfile.rhel
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
FROM openshift/golang-builder:1.12 AS builder

WORKDIR /go/src/github.com/coreos/etcd

COPY . .

RUN ./build

# stage 2
FROM openshift/origin-base

ENTRYPOINT ["/usr/bin/etcd"]

COPY --from=builder /go/src/github.com/coreos/etcd/bin/etcd /usr/bin/
COPY --from=builder /go/src/github.com/coreos/etcd/bin/etcdctl /usr/bin/

LABEL io.k8s.display-name="etcd server" \
io.k8s.description="etcd is a distributed key-value store which stores the persistent master state for Kubernetes and OpenShift." \
maintainer="Sam Batschelet <[email protected]>"
3 changes: 3 additions & 0 deletions Documentation/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
title: etcd version 3.3.12
---
18 changes: 0 additions & 18 deletions Documentation/benchmarks/README.md

This file was deleted.

3 changes: 3 additions & 0 deletions Documentation/benchmarks/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
title: Benchmarks
---
4 changes: 4 additions & 0 deletions Documentation/benchmarks/etcd-2-1-0-alpha-benchmarks.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
title: Benchmarking etcd v2.1.0
---

## Physical machines

GCE n1-highcpu-2 machine type
Expand Down
6 changes: 4 additions & 2 deletions Documentation/benchmarks/etcd-2-2-0-benchmarks.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# Benchmarking etcd v2.2.0
---
title: Benchmarking etcd v2.2.0
---

## Physical Machines

Expand Down Expand Up @@ -26,7 +28,7 @@ Go OS/Arch: linux/amd64

Bootstrap another machine, outside of the etcd cluster, and run the [`hey` HTTP benchmark tool](https://github.com/rakyll/hey) with a connection reuse patch to send requests to each etcd cluster member. See the [benchmark instructions](../../hack/benchmark/) for the patch and the steps to reproduce our procedures.

The performance is calulated through results of 100 benchmark rounds.
The performance is calculated through results of 100 benchmark rounds.

## Performance

Expand Down
6 changes: 5 additions & 1 deletion Documentation/benchmarks/etcd-2-2-0-rc-benchmarks.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
## Physical machines
---
title: Benchmarking etcd v2.2.0-rc
---

## Physical machine

GCE n1-highcpu-2 machine type

Expand Down
4 changes: 4 additions & 0 deletions Documentation/benchmarks/etcd-2-2-0-rc-memory-benchmarks.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
title: Benchmarking etcd v2.2.0-rc-memory
---

## Physical machine

GCE n1-standard-2 machine type
Expand Down
4 changes: 4 additions & 0 deletions Documentation/benchmarks/etcd-3-demo-benchmarks.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
title: Benchmarking etcd v3
---

## Physical machines

GCE n1-highcpu-2 machine type
Expand Down
4 changes: 3 additions & 1 deletion Documentation/benchmarks/etcd-3-watch-memory-benchmark.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# Watch Memory Usage Benchmark
---
title: Watch Memory Usage Benchmark
---

*NOTE*: The watch features are under active development, and their memory usage may change as that development progresses. We do not expect it to significantly increase beyond the figures stated below.

Expand Down
4 changes: 3 additions & 1 deletion Documentation/benchmarks/etcd-storage-memory-benchmark.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# Storage Memory Usage Benchmark
---
title: Storage Memory Usage Benchmark
---

<!---todo: link storage to storage design doc-->
Two components of etcd storage consume physical memory. The etcd process allocates an *in-memory index* to speed key lookup. The process's *page cache*, managed by the operating system, stores recently-accessed data from disk for quick re-use.
Expand Down
4 changes: 3 additions & 1 deletion Documentation/branch_management.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# Branch management
---
title: Branch management
---

## Guide

Expand Down
4 changes: 3 additions & 1 deletion Documentation/demo.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# Demo
---
title: Demo
---

This series of examples shows the basic procedures for working with an etcd cluster.

Expand Down
3 changes: 3 additions & 0 deletions Documentation/dev-guide/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
title: Developer guide
---
6 changes: 4 additions & 2 deletions Documentation/dev-guide/api_concurrency_reference_v3.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
### etcd concurrency API Reference
---
title: etcd concurrency API Reference
---


This is a generated documentation. Please read the proto files for more.
Expand All @@ -20,7 +22,7 @@ The lock service exposes client-side locking facilities as a gRPC interface.
| Field | Description | Type |
| ----- | ----------- | ---- |
| name | name is the identifier for the distributed shared lock to be acquired. | bytes |
| lease | lease is the ID of the lease that will be attached to ownership of the lock. If the lease expires or is revoked and currently holds the lock, the lock is automatically released. Calls to Lock with the same lease will be treated as a single acquistion; locking twice with the same lease is a no-op. | int64 |
| lease | lease is the ID of the lease that will be attached to ownership of the lock. If the lease expires or is revoked and currently holds the lock, the lock is automatically released. Calls to Lock with the same lease will be treated as a single acquisition; locking twice with the same lease is a no-op. | int64 |



Expand Down
Loading