Skip to content

Commit

Permalink
Merge pull request #20 from openshift/bump-3.3.17
Browse files Browse the repository at this point in the history
[openshift-4.3]: bump etcd to v3.3.17
  • Loading branch information
openshift-merge-robot committed Oct 24, 2019
2 parents ee5a277 + af8d37c commit e30a18f
Show file tree
Hide file tree
Showing 1,756 changed files with 324,475 additions and 210,696 deletions.
1 change: 0 additions & 1 deletion .gitignore
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
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
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.

3 changes: 3 additions & 0 deletions Documentation/_index.md
@@ -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
@@ -0,0 +1,3 @@
---
title: Benchmarks
---
4 changes: 4 additions & 0 deletions Documentation/benchmarks/etcd-2-1-0-alpha-benchmarks.md
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -1,4 +1,6 @@
# Branch management
---
title: Branch management
---

## Guide

Expand Down
4 changes: 3 additions & 1 deletion Documentation/demo.md
@@ -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
@@ -0,0 +1,3 @@
---
title: Developer guide
---
6 changes: 4 additions & 2 deletions Documentation/dev-guide/api_concurrency_reference_v3.md
@@ -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

0 comments on commit e30a18f

Please sign in to comment.