Hitoshi Mitake
0e493c11c2
functional-tester: decouple stresser from tester
...
This commit decouples stresser from the tester of
functional-tester. For doing it, this commit adds a new option
--stresser to etcd-tester. The option accepts two types of stresser:
"default" and "nop". If the option is "default", etcd-tester stresses
its etcd cluster with the existing stresser. If the option is "nop",
etcd-tester does nothing for stressing.
Partially fixes https://github.com/coreos/etcd/issues/6446
2016-09-24 01:04:57 +09:00
Xiang Li
3453ce55e3
Merge pull request #6496 from sinsharat/refactor_mirror_command_tests
...
e2e: refactored ctlv3_make_mirror_test
2016-09-21 19:33:42 -05:00
Gyu-Ho Lee
4ec0fce109
Merge pull request #6493 from gyuho/tester-build
...
functional-tester: build from repo root, vendor
2016-09-21 16:57:34 -07:00
Anthony Romano
27c500d8d0
Merge pull request #6487 from heyitsanthony/watch-stress
...
clientv3: process closed watcherStreams in watcherGrpcStream run loop
2016-09-21 13:55:25 -07:00
Anthony Romano
3f7f6fb557
Merge pull request #6500 from sinsharat/readme_del_option_update
...
etcdctlv3: updated del command options
2016-09-21 13:54:18 -07:00
Anthony Romano
a32518006c
clientv3: process closed watcherStreams in watcherGrpcStream run loop
...
Was racing with Watch() when closing the grpc stream on no watchers.
Fixes #6476
2016-09-21 13:28:00 -07:00
sharat
bcda9af15d
etcdctlv3: updated del command options
2016-09-22 00:16:53 +05:30
Gyu-Ho Lee
d743b8b866
Merge pull request #6474 from gyuho/auto-sync
...
clientv3: add 'Sync' method
2016-09-21 10:57:10 -07:00
Anthony Romano
deef16b376
integration: test client watchers with overlapped context cancels
2016-09-21 09:40:24 -07:00
sharat
592538986d
e2e: refactored ctlv3_make_mirror_test
2016-09-21 22:07:03 +05:30
Gyu-Ho Lee
cdb1e34799
clientv3: add 'Sync' method
2016-09-21 09:10:25 -07:00
Xiang Li
c016325647
Merge pull request #6495 from vimalk78/wal-improve-coverage-add-testcase-save-with-cut
...
wal/wal.go : improved coverage by testing WAL.Save which causes a WAL…
2016-09-21 11:04:21 -05:00
Gyu-Ho Lee
4426e282d6
Merge pull request #6497 from gyuho/raft-example
...
raftexample: remove snapshot TODO in README
2016-09-21 08:44:04 -07:00
sharat
3492753edf
e2e: refactored ctlv3_make_mirror_test
2016-09-21 20:01:24 +05:30
Gyu-Ho Lee
113b27229b
raftexample: remove snapshot TODO in README
2016-09-21 05:07:04 -07:00
Gyu-Ho Lee
13e7172b4b
Merge pull request #6244 from gyuho/raft-example
...
raftexample: implement Raft snapshot
2016-09-21 04:55:29 -07:00
Gyu-Ho Lee
e4fbf7db00
raftexample: implement Raft snapshot
2016-09-21 04:23:05 -07:00
Gyu-Ho Lee
4b83f40618
raftexample: add index fields to filter entries
2016-09-21 04:23:05 -07:00
Gyu-Ho Lee
666d555450
raftexample: add snapshotter, handle Ready in raft
2016-09-21 04:23:05 -07:00
Gyu-Ho Lee
15fa8dd866
raftexample: add snapshot methods to kvstore
2016-09-21 04:23:01 -07:00
Vimal Kumar
064411b51c
wal/wal.go : improved coverage by testing WAL.Save which causes a WAL.cut to happen
2016-09-21 16:50:55 +05:30
Xiang Li
d3906e75bf
Merge pull request #6494 from sinsharat/update_snapshot_restore_options
...
etcdctlv3: updated snapshot restore options
2016-09-21 05:50:34 -05:00
sharat
05175480b3
etcdctlv3: updated snapshot restore options
2016-09-21 16:17:32 +05:30
Gyu-Ho Lee
0604fccfea
Merge pull request #6492 from sinsharat/make-mirror_no_dest_test
...
etcdctlv3: test case: make-mirror no dest prefix
2016-09-21 03:12:01 -07:00
Gyu-Ho Lee
cff06ef64d
Merge pull request #6491 from gyuho/functional
...
functional-tester: use different ports in Procfile
2016-09-21 02:54:54 -07:00
sharat
409fc439d1
etcdctlv3: test case: make-mirror no dest prefix
2016-09-21 15:12:36 +05:30
Gyu-Ho Lee
b2c4992a82
functional-tester: use different ports in Procfile
2016-09-21 02:39:45 -07:00
Gyu-Ho Lee
e8adc24c32
functional-tester: build from repo root, vendor
2016-09-21 02:06:13 -07:00
Gyu-Ho Lee
d6a3ce17d5
Merge pull request #6472 from sinsharat/make-mirror_modify_dest_test
...
etcdctlv3: test case: make-mirror modify dest prefix
2016-09-21 00:43:56 -07:00
sharat
e5ff5d92e6
etcdctlv3: test case: make-mirror modify dest prefix
2016-09-21 05:40:52 +05:30
Xiang Li
b91d8625c8
Merge pull request #6485 from sinsharat/readme_get_features_update
...
ctlv3: updated readme for options and examples for get command
2016-09-21 07:26:46 +08:00
Sharat
9743ee8b83
etcdctlv3: updated readme for options and examples for get command
2016-09-21 04:51:13 +05:30
Anthony Romano
095cff4415
Merge pull request #6478 from heyitsanthony/untangle-check
...
etcd-tester: split out consistency checking code from tester
2016-09-20 10:56:17 -07:00
Anthony Romano
d4eff5381c
etcd-tester: split out consistency checking code from tester
2016-09-20 10:26:58 -07:00
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