Gyu-Ho Lee
5d62bba9c7
auth: keep old revision in 'NewAuthStore'
...
When there's no changes yet (right after auth
store initialization), we should commit old revision.
Fix https://github.com/coreos/etcd/issues/7359 .
2017-02-22 10:39:28 -08:00
Anthony Romano
114e293119
integration: test keepalives for short TTLs
2017-02-22 10:38:38 -08:00
Anthony Romano
1439955536
clientv3: do not set next keepalive time <= now+TTL
2017-02-22 10:38:28 -08:00
Anthony Romano
2c8ecc7e13
tcpproxy: don't use range variable in reactivate goroutine
...
Ends up trying to reactivate only the last endpoint.
2017-02-22 10:38:19 -08:00
Dylan.Wen
7b4d622a7e
raft: fix read index request for #7331
2017-02-22 10:38:09 -08:00
Gyu-Ho Lee
db8abbd975
version: bump to 3.1.1+git
2017-02-21 17:00:02 -08:00
Gyu-Ho Lee
ac1c7eba21
version: bump up to 3.1.1
v3.1.1
2017-02-16 13:53:25 -08:00
Gyu-Ho Lee
9cc6d4852a
travis: update for Go 1.7.5 tests
2017-02-16 13:53:05 -08:00
Xiang
ff7fa9843d
clientv3: fix lease keepalive duration
2017-02-16 13:52:27 -08:00
Xiang
f66138d403
clientv3: fix lease keepalive duration
2017-02-16 12:41:09 -08:00
Gyu-Ho Lee
8c87916f68
auth: add 'setupAuthStore' to tests
2017-02-14 14:39:51 -08:00
Hitoshi Mitake
9e81b002c4
auth: correct initialization in NewAuthStore()
...
Because of my own silly mistake, current NewAuthStore() doesn't
initialize authStore in a correct manner. For example, after recovery
from snapshot, it cannot revive the flag of enabled/disabled. This
commit fixes the problem.
Fix https://github.com/coreos/etcd/issues/7165
2017-02-14 13:49:19 -08:00
Hitoshi Mitake
4962c5cff7
auth: add a test case for recoverying from snapshot
...
Conflicts:
auth/store_test.go
2017-02-14 13:48:17 -08:00
Hitoshi Mitake
e5bf25a3b6
e2e: add cases for defrag and snapshot with authentication
2017-02-14 13:43:11 -08:00
Hitoshi Mitake
98c60e8faa
auth, etcdserver: let maintenance services require root role
...
This commit lets maintenance services require root privilege. It also
moves AuthInfoFromCtx() from etcdserver to auth pkg for cleaning purpose.
2017-02-14 13:42:31 -08:00
Anthony Romano
3ac3fa6f3d
travis: disable email notifications
...
Was spamming security@coreos.com
2017-02-14 12:55:02 -08:00
Anthony Romano
eaa8b9e155
clientv3: test closing client cancels blocking dials
2017-02-14 11:31:51 -08:00
Anthony Romano
ea2aae464d
clientv3: use DialContext
...
Fixes #7216
2017-02-14 11:31:43 -08:00
Xiang Li
776739ebc2
roadmap: update roadmap
2017-01-20 14:21:08 -08:00
Gyu-Ho Lee
a7a8a47ba0
README: remove ACI, update Go version
2017-01-20 14:21:00 -08:00
Gyu-Ho Lee
379f7ae10e
op-guide: change grpc-proxy from 'pre' to alpha'
2017-01-20 13:25:21 -08:00
Gyu-Ho Lee
ead2d95914
version: bump to v3.1.0+git
2017-01-20 13:25:04 -08:00
Gyu-Ho Lee
8ba2897a21
version: bump to v3.1.0
v3.1.0
2017-01-20 12:42:12 -08:00
Anthony Romano
bc31e27cb9
documentation: update build documentation
2017-01-20 11:20:54 -08:00
Vimal Kumar
fce20a0b0b
test: passed the test script arguments as the test function parameters
2017-01-20 11:15:01 -08:00
Xiang Li
f10363fecd
etcdctlv3: snapshot restore works with lease key
2017-01-20 10:06:49 -08:00
Vimal Kumar
a7ec6c88fd
pkg/flags: fixed prefix checking of the env variables
2017-01-20 09:57:00 -08:00
Gyu-Ho Lee
62c591d223
integration: test STM apply on concurrent deletion
2017-01-20 09:56:42 -08:00
Derek Chiang
5676226867
clientv3/concurrency: fix rev comparison on concurrent key deletion
2017-01-20 09:56:36 -08:00
Asko Kauppi
898b9e608f
Documentation: fix typo s/endpoint-health/endpoint health/
2017-01-19 20:48:01 -08:00
Gyu-Ho Lee
b84be6b11b
NEWS: fix date for v3.1 release
2017-01-19 17:56:35 -08:00
Gyu-Ho Lee
7a12d65528
Documentation: update experimental_apis for v3.1 release
2017-01-19 12:43:32 -08:00
Gyu-Ho Lee
53ac04b118
vendor: update 'golang.org/x/net'
2017-01-18 13:11:48 -08:00
Gyu-Ho Lee
fbcd5375b3
glide: update 'golang.org/x/net'
2017-01-18 13:11:13 -08:00
Anthony Romano
c2e8d06eec
grpcproxy, etcdmain, integration: add close channel to kv proxy
...
ccache launches goroutines that need to be explicitly stopped.
Fixes #7158
2017-01-18 13:11:03 -08:00
Anthony Romano
6c8f1986c8
etcdserver: use ReqTimeout for linearized read
...
Fixes #7136
2017-01-17 17:31:31 -08:00
Gyu-Ho Lee
be9ae300c6
pkg/report: add nil checking for getTimeSeries
2017-01-17 13:23:57 -08:00
Gyu-Ho Lee
9ba3632614
Documentation: document upgrading to v3.1
2017-01-17 13:23:19 -08:00
Armstrong Li
c2d8b5a9e8
ctlv3: print cluster info after adding new member
2017-01-17 10:23:02 -08:00
Gyu-Ho Lee
0c88795a19
Merge pull request #7151 from gyuho/travis
...
travis: use Go 1.7.4, drop old env var
2017-01-13 12:55:32 -08:00
Gyu-Ho Lee
21e3418553
travis: use Go 1.7.4, drop old env var
...
We don't use Go 1.5.x anymore
2017-01-13 11:34:05 -08:00
Gyu-Ho Lee
bb797c1ee9
Merge pull request #7147 from gyuho/pkg/report
...
pkg/report: add 'Stats' to expose report raw data
2017-01-13 11:17:57 -08:00
Anthony Romano
304606ab0b
Merge pull request #7139 from heyitsanthony/proxy-rlock
...
grpcproxy/cache: acquire read lock on Get instead of write lock
2017-01-13 11:15:13 -08:00
Gyu-Ho Lee
74bad576ed
pkg/report: add 'Stats' to expose report raw data
2017-01-13 10:26:00 -08:00
Anthony Romano
7dfe503f1c
Merge pull request #7148 from heyitsanthony/fix-lease-overlap
...
clientv3: don't reset stream on keepaliveonce or revoke failure
2017-01-13 10:05:02 -08:00
Anthony Romano
af51f87ad2
vendor: remove groupcache, add ccache
2017-01-13 10:02:04 -08:00
Anthony Romano
9fa6c95054
grpcproxy: use ccache for key cache
...
groupcache needs a write lock and has no way to expire keys; ccache can
do this, though.
Also removes the key count metric, since there's no way to efficiently
calculate it using ccache.
2017-01-13 10:00:57 -08:00
Anthony Romano
5e3b20e70c
clientv3: don't reset stream on keepaliveonce or revoke failure
...
Would cause the keepalive loop to cancel out.
Fixes #7082
2017-01-13 09:05:23 -08:00
Hitoshi Mitake
c89eae790d
Merge pull request #7110 from mitake/reauth
...
etcdserver, clientv3: handle a case of expired auth token
2017-01-13 11:57:25 +09:00
fanmin shi
432bda4dec
Merge pull request #7146 from fanminshi/clientv3_balancer_uses_one_connection
...
clientv3: fix balancer test logic
2017-01-12 13:51:03 -08:00