Xiang Li
3da8c6512b
Merge pull request #6481 from sinsharat/update_timetolive_options
...
etcdctlv3: updated options for TIMETOLIVE
2016-09-20 23:29:15 +08:00
sharat
3e67702d4b
etcdctlv3: updated options for TIMETOLIVE
2016-09-20 16:40:58 +05:30
fanmin shi
b586060812
Merge pull request #6475 from fanminshi/leaseparallel
...
etcdserver: parallelize expired leases process
2016-09-19 16:46:31 -07:00
fanmin shi
690a0b6f00
etcdserver: parallelize expired leases process
...
When 1000 leases expired at the same time, etcd takes more than 5 seconds to clean them. This means that even after the leases have expired, keys associated with leases are still accessible. I increase the deletion throughput by parallelizing leases deletion process.
2016-09-19 16:17:49 -07:00
Anthony Romano
69c7ea0b4a
Merge pull request #6473 from heyitsanthony/watchreconn-putretry
...
integration: l-read before Put in TestWatchReconnRequest
2016-09-19 14:52:26 -07:00
Anthony Romano
0fb2cab221
integration: l-read before Put in TestWatchReconnRequest
...
TestWatchReconnRequest occasionally triggers elections because it spins on
drop connections, eating up CPU. In case there's an election, submit an
l-read to wait for the cluster to settle down.
Fixes #6314
2016-09-19 14:14:32 -07:00
Gyu-Ho Lee
c9e06fa1ed
Merge pull request #6330 from gyuho/balancer-sync
...
clientv3: add SetEndpoints method
2016-09-20 04:52:13 +09:00
Anthony Romano
d26cfdb7d1
Merge pull request #6425 from heyitsanthony/etcdserver-wg
...
etcdserver: tighten up goroutine management
2016-09-19 12:51:16 -07:00
Gyu-Ho Lee
f11b35eb71
clientv3/integration: test 'SetEndpoints'
2016-09-20 04:36:14 +09:00
Gyu-Ho Lee
b9d18d4ac9
clientv3: add 'SetEndpoints' method
2016-09-20 04:36:01 +09:00
Anthony Romano
3866e78c26
etcdserver: tighten up goroutine management
...
All outstanding goroutines now go into the etcdserver waitgroup. goroutines are
shutdown with a "stopping" channel which is closed when the run() goroutine
shutsdown. The done channel will only close once the waitgroup is totally cleared.
2016-09-19 12:10:41 -07:00
Xiang Li
a70513621c
Merge pull request #6470 from xiang90/fix_doc
...
doc: use 2379 as port of the first member in local cluster
2016-09-19 08:34:11 -05:00
Xiang Li
328c42f1b7
doc: use 2379 as port of the first member in local cluster
2016-09-19 21:28:33 +08:00
Gyu-Ho Lee
2dc06787ae
Merge pull request #6467 from coreos/revert-6465-tls-copy
...
Revert "pkg/transport: update tls.Config copy method"
2016-09-19 16:02:41 +09:00
Gyu-Ho Lee
629d9e7dab
Revert "pkg/transport: update tls.Config copy method"
2016-09-19 15:07:12 +09:00
Gyu-Ho Lee
db9ed233dc
Merge pull request #6465 from gyuho/tls-copy
...
pkg/transport: update tls.Config copy method
2016-09-19 00:46:08 +09:00
Gyu-Ho Lee
8c9a88c7d4
pkg/transport: update tls.Config copy method
...
For Go 1.7
2016-09-18 22:50:45 +09:00
Xiang Li
33dbf5c6bd
Merge pull request #6463 from xiang90/fix_http
...
embed: fix go 1.7 http issue
2016-09-18 08:44:04 -05:00
Xiang Li
7a48ca4cea
embed: fix go 1.7 http issue
...
go 1.7 introduces HTTP2 compability issue. Now we
need to explicitly enable HTTP2 when TLS is set.
2016-09-18 18:38:55 +08:00
Gyu-Ho Lee
ac2077559d
Merge pull request #6461 from gyuho/travis
...
travis: test with Go 1.7.1
2016-09-17 22:10:09 +09:00
Gyu-Ho Lee
63d6a4e0e1
travis: test with Go 1.7.1
2016-09-17 20:57:28 +09:00
Gyu-Ho Lee
4a7c1da9b3
Merge pull request #6460 from sinsharat/readme_update
...
etcdctlv3: updated readme for make-mirror: modify/remove prefix in dest cluster
2016-09-17 19:57:15 +09:00
sharat
6c408eb779
etcdctlv3:updated readme.md for make-mirror modify/remove prefix in dest cluster
2016-09-17 16:13:01 +05:30
Xiang Li
86aeeca644
Merge pull request #6454 from sinsharat/windows_save_snapshot_fix
...
ctlv3: close snapshot file before rename (Windows)
2016-09-16 18:09:59 -05:00
Xiang Li
0d65061a2d
Merge pull request #6439 from sinsharat/make_mirror_feature_add
...
etcdctl/ctlv3: make-mirror: feature add to modify/remove prefix in dest cluster
2016-09-16 18:07:20 -05:00
Anthony Romano
01a0db0fce
Merge pull request #6456 from heyitsanthony/version-bump-git
...
version: bump to 3.1.0-alpha.0+git
2016-09-16 15:12:30 -07:00
Anthony Romano
0a8bf60a9d
version: bump to 3.1.0-alpha.0+git
2016-09-16 09:56:29 -07:00
sharat
fef6557f6c
ctlv3: close snapshot file before rename (Windows)
2016-09-16 21:55:04 +05:30
sharat
b571f4d627
etcdctl/ctlv3: feature added to modify/remove prefix in the destination cluster
2016-09-16 18:48:41 +05:30
Gyu-Ho Lee
5c2053109b
Merge pull request #6449 from gyuho/supported-stream
...
rafthttp: add v3.x to supported streams
v3.1.0-alpha.0
2016-09-16 21:47:20 +09:00
Gyu-Ho Lee
8827619f5b
rafthttp: add v3.x to supported streams
2016-09-16 20:49:00 +09:00
Xiang Li
143e2f27fc
Merge pull request #6447 from xiang90/cap
...
api: update capability map
2016-09-16 02:35:26 -05:00
Xiang Li
d6904ce415
Merge pull request #6441 from petermattis/pmattis/tick-quiesced
...
raft: add RawNode.TickQuiesced
2016-09-16 01:48:21 -05:00
Xiang Li
c6feb695dc
api: update capability map
2016-09-16 14:34:55 +08:00
Peter Mattis
37fa6ac45c
raft: add RawNode.TickQuiesced
...
TickQuiesced allows the caller to support "quiesced" Raft groups which
do not perform periodic heartbeats and elections. This is useful in a
system with thousands of Raft groups where these periodic operations can
be overwhelming in an otherwise idle system.
It might seem possible to avoid advancing the logical clock at all in
such Raft groups, but doing so has an interaction with the CheckQuorum
functionality. If a follower is not quiesced while the leader is the
follower can call an election that will fail because the leader's lease
has not expired (electionElapsed < electionTimeout). The next time the
leader sends a heartbeat to this follower the follower will see that the
heartbeat is from a previous term and respond with a MsgAppResp. This in
turn will cause the leader to step down and become a follower even
though there isn't a leader in the group. By allowing the leader's
logical clock to advance via TickQuiesced, the leader won't reject the
election and there will be a smooth transfer of leadership to the
follower.
2016-09-15 21:05:18 -04:00
Anthony Romano
2724c3946e
Merge pull request #6444 from heyitsanthony/version-bump-3.1
...
version: bump to 3.1.0-alpha.0
2016-09-15 15:24:59 -07:00
Anthony Romano
c658fa62c5
version: bump to 3.1.0-alpha.0
2016-09-15 15:13:51 -07:00
Gyu-Ho Lee
624eb609fa
Merge pull request #6443 from gyuho/news
...
NEWS: add v3.0.8, v3.0.9
2016-09-16 07:09:42 +09:00
Gyu-Ho Lee
1b1e54a281
NEWS: add v3.0.8, v3.0.9
2016-09-16 07:05:31 +09:00
Gyu-Ho Lee
9913e0073c
Merge pull request #6438 from gyuho/e2e-backends
...
e2e: rename 'backends' to 'processes'
2016-09-15 19:00:28 +09:00
Gyu-Ho Lee
7cd7b5d539
e2e: rename 'backends' to 'processes'
2016-09-15 18:30:08 +09:00
Xiang Li
a12b317552
Merge pull request #6428 from gyuho/snapshot-test
...
e2e: test snapshot restore
2016-09-15 04:22:03 -05:00
Gyu-Ho Lee
bb337c87d0
e2e: test snapshot restore
2016-09-15 17:58:00 +09:00
Xiang Li
fb760b4c53
Merge pull request #6403 from vimalk78/rafthttp-mertics-record-rw-failures
...
rafthttp/metrics.go:fixed TODO: record write/recv failures.
2016-09-15 02:46:20 -05:00
Gyu-Ho Lee
d814804fa1
Merge pull request #6437 from sinsharat/readme_update
...
etcdctl: readme.md display fix
2016-09-15 16:20:42 +09:00
sharat
cd3a7fb833
etcdctl: readme.md display fix
2016-09-15 12:23:56 +05:30
Vimal Kumar
64e1a327ee
rafthttp/metrics.go:fixed TODO: record write/recv failures.
2016-09-15 11:32:08 +05:30
Xiang Li
b3a083d336
Merge pull request #6436 from LiamHaworth/bugfix/6433-support-for-charset-in-content-type-header
...
etcdserver, api, v2http, client: Added support for semicolons
2016-09-14 23:25:31 -05:00
Liam Haworth
5cfa9e2384
etcdserver, api, v2http, client: Added support for semicolons
...
Added support into the v2 API to fix an issue (6433) where if there is a semicolon
and fields after it the API would return an "invalid Content-type" message even
if the content type was actually correct
2016-09-15 13:54:22 +10:00
Anthony Romano
e77baa3dcb
Merge pull request #6424 from heyitsanthony/v3api-createminmax
...
etcdserver: range queries with min/max create revision
2016-09-14 19:10:52 -07:00