cb8524fbec
benchmark: use new lease interface
2017-04-24 23:49:45 -07:00
78afc853f4
etcd-runner: update to use new lease interface
2017-04-24 23:49:45 -07:00
b5384ac1c0
grpcproxy: use new lease interface
2017-04-24 23:49:44 -07:00
70f0bbe38c
etcdcdtl: use new lease interface
2017-04-24 23:49:44 -07:00
f3053265ae
clientv3/integration: use new interfaces in lease tests
2017-04-24 23:49:44 -07:00
f224d74ed7
concurrency: use new lease interface in session
2017-04-24 23:49:44 -07:00
d5f414f69b
clientv3: don't halt lease client if there is a lease error
...
Fixes #7488
2017-04-24 23:49:44 -07:00
f254e38385
Merge pull request #7806 from heyitsanthony/testutil-assert
...
testutil: assert functions
2017-04-23 01:30:39 -07:00
2ef3eac5ca
vendor: remove testify
...
Fixes #7805
2017-04-22 20:29:58 -07:00
76fb6ebcbb
scripts: remove testify hack in updatedep
2017-04-22 20:29:58 -07:00
978cf804ca
store: replace testify asserts with testutil asserts
2017-04-22 20:29:58 -07:00
6f06e1cb47
testutil: add assert functions
2017-04-22 20:29:58 -07:00
c5d4f3e7db
Merge pull request #7804 from heyitsanthony/current-watch-fix
...
clientv3: set current revision to create rev regardless of CreateNotify
2017-04-22 14:09:17 -07:00
7f159b6a8d
Merge pull request #7803 from heyitsanthony/snip-deprecated-machines
...
v2http: remove deprecated /v2/machines path
2017-04-22 14:08:55 -07:00
ca4acceb1e
clientv3: set current revision to create rev regardless of CreateNotify
...
Turns out the optimization to ignore setting the init rev for
current revision watches breaks some ordering assumptions. Since
Watch only returns a channel once it gets a response, it should
bind the revision at the time of the first create response.
Was causing TestWatchReconnInit to fail.
2017-04-22 13:04:38 -07:00
94f6a11bbf
Merge pull request #7756 from heyitsanthony/weaken-v3elect-test
...
integration: permit dropping intermediate leader values on observe
2017-04-22 12:13:51 -07:00
c1300c81b3
concurrency: clarify Observe semantics; only fetches subsequence
2017-04-22 11:26:11 -07:00
e6a789d541
integration: permit dropping intermediate leader values on observe
...
Weaken TestV3ElectionObserve so it only checks that it observes a strictly
monotonically ascending leader transition sequence following the first
observed leader. First, the Observe will issue the leader channel before
getting a response for its first get; the election revision is only bound
after returning the channel. So, Observe can't be expected to always
return the leader at the time it was started. Second, Observe fetches
the current leader based on its create revision, but begins watching on its
ModRevision; this is important so that elections still work in case the
leader issues proclamations following a compaction that exceeds its
creation revision. So, Observe can't be expected to return the entire
proclamation sequence for a single leader.
Fixes #7749
2017-04-22 11:26:11 -07:00
2bb33181b6
v2http: remove deprecated /v2/machines path
2017-04-22 03:11:21 -07:00
7da451640f
Merge pull request #7795 from heyitsanthony/dont-force-initrev
...
clientv3: only update initReq.rev == 0 with watch revision
2017-04-22 02:50:55 -07:00
4ab818a856
clientv3: only update initReq.rev == 0 with creation watch revision
...
Always updating the initReq.rev on watch create will resume from the wrong
revision if initReq is ever nonzero.
2017-04-21 20:22:51 -07:00
ec470944f8
clientv3/integration: test watch resume with disconnect before first event
2017-04-21 20:22:51 -07:00
fe1ce3a2f0
integration: add pause/unpause to client bridge
...
Resetting connections sometimes isn't enough; need to stop/resume
accepting connections for some tests while keeping the member up.
2017-04-21 20:22:51 -07:00
91039bef7c
Merge pull request #7799 from heyitsanthony/ctxize-resolve
...
netutil: use "context" and ctx-ize TCP addr resolution
2017-04-21 16:30:32 -07:00
a73950545a
Merge pull request #7801 from heyitsanthony/s1027
...
*: clear redundant return statement warnings (S1027)
2017-04-21 15:18:40 -07:00
14d6ed9e5f
*: clear redundant return statement warnings (S1027)
2017-04-21 14:01:00 -07:00
a9087ee659
Merge pull request #7714 from glevand/for-merge-cross
...
Add multi arch release support
2017-04-21 10:56:01 -07:00
bf987185a9
release.md: Update for multi arch release
...
Signed-off-by: Geoff Levand <geoff@infradead.org >
2017-04-21 10:04:41 -07:00
07c07cea25
release: Add multi arch support
...
Signed-off-by: Geoff Levand <geoff@infradead.org >
2017-04-21 10:04:41 -07:00
0c8988aa07
build-docker: Updates for multi-arch release
...
o Set -e to abort script if a command fails.
o Allow custom docker 'TAG' from the environment.
o Move arch suffix to version to allow all images to
be put into a single repository.
o Enable cross builds. When doing cross builds where the
host and target architectures are different 'RUN mkdir'
will fail since the target container cannot be run on
the host. To work around this, create the directories
in build-docker, then use ADD in the Dockerfile.
o Add Dockerfile-release.arm64
Signed-off-by: Geoff Levand <geoff@infradead.org >
2017-04-21 10:04:41 -07:00
8309ca92d7
build-aci: Add multi arch support
...
Uses GOARCH to build for a targeted arch.
Usage: GOARCH=... BINARYDIR=... BUILDDIR=... ./scripts/build-aci version
Signed-off-by: Geoff Levand <geoff@infradead.org >
2017-04-21 10:04:41 -07:00
fb6287240f
build-binary: Add arm64
...
Signed-off-by: Geoff Levand <geoff@infradead.org >
2017-04-21 10:04:41 -07:00
85e87e8f6b
netutil: use "context" and ctx-ize TCP addr resolution
2017-04-21 10:01:53 -07:00
8bad78cb98
Merge pull request #7788 from gyuho/trace
...
vendor: use 'x/net/trace' with std 'context'
2017-04-20 18:18:33 -07:00
bfd5f38af3
vendor: use 'x/net/trace' with std 'context'
...
For https://github.com/coreos/etcd/issues/6174 .
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com >
2017-04-20 17:28:59 -07:00
3a93928b07
Merge pull request #7779 from heyitsanthony/pkgize-gw
...
*: put gateway stubs in packages separate from pb stubs
2017-04-20 14:53:56 -07:00
82b7e4fd3b
Merge pull request #7786 from gyuho/rate
...
vendor: update 'golang.org/x/time/rate' with context
2017-04-20 13:51:43 -07:00
da1bba8f39
vendor: update 'golang.org/x/time/rate' with context
...
Go just updated its import path c06e80d930
For https://github.com/coreos/etcd/issues/6174 .
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com >
2017-04-20 11:18:34 -07:00
633a4e6b52
Merge pull request #7785 from heyitsanthony/printerize-lease
...
ctlv3: use printer for lease command results
2017-04-20 10:36:58 -07:00
cf8c66c9f0
ctlv3: use printer for lease command results
...
Fixes #7783
2017-04-20 09:41:04 -07:00
85c9ea92bb
Merge pull request #7745 from heyitsanthony/bom
...
*: add bill of materials
2017-04-19 15:29:20 -07:00
a2b5444a26
test: ensure clientv3 has no grpc-gateway dependency
2017-04-19 13:09:23 -07:00
393e4335b7
*: put gateway stubs into their own packages
...
Fixes #7773
2017-04-19 13:09:06 -07:00
fd11523af9
scripts: move gateway stubs into gw/ packages
2017-04-19 12:50:04 -07:00
04fc57ac1d
Merge pull request #7775 from heyitsanthony/fix-lease-print
...
ctlv3: keep lease as integer in fields printer
2017-04-19 09:08:17 -07:00
385e18bc6c
Merge pull request #7768 from gyuho/close-serverc
...
embed: signal 'grpcServerC' before cmux serve
2017-04-19 08:24:22 -07:00
35dff4cbc3
Merge pull request #7769 from heyitsanthony/more-time-lease-test
...
clientv3/integration: sleep less in TestLeaseRenewLostQuorum
2017-04-19 00:57:49 -07:00
d24a763a12
Merge pull request #7771 from heyitsanthony/remove-2.0-version
...
etcdserver: remove 2.0 StatusNotFound version check
2017-04-19 00:57:19 -07:00
fcd4871e2a
ctlv3: keep lease as integer in fields printer
...
Output was giving %!d(string=) instead of the expected lease ID
value.
2017-04-19 00:48:13 -07:00
d3456b5ecd
Merge pull request #7759 from mitake/fix-7724
...
*: simply ignore ErrAuthNotEnabled in clientv3 if auth is not enabled
2017-04-19 16:07:18 +09:00