Gyu-Ho Lee
4a07bbec59
clientv3: implement new grpc.Balancer interface
2016-10-10 11:18:29 -07:00
Gyu-Ho Lee
e3558a64cf
vendor: update grpc-go v1.0.2 tag
...
Fix https://github.com/coreos/etcd/issues/6529 .
2016-10-10 11:18:01 -07:00
Gyu-Ho Lee
69ea359e62
vendor: update glide.yaml with grpc-go v1.0.2 tag
2016-10-10 11:17:47 -07:00
Gyu-Ho Lee
b9f3ef09e1
vendor: clean up dependencies (remove unused ones)
2016-10-10 11:17:27 -07:00
Gyu-Ho Lee
def1a3b77f
script/updatedep: update glide, glide-vc version
2016-10-10 11:11:58 -07:00
Anthony Romano
3a6fe61c03
Merge pull request #6610 from heyitsanthony/bench-lease
...
benchmark: submit keepalive requests concurrently with report.Run()
2016-10-10 09:53:08 -07:00
Xiang Li
fd60205e95
Merge pull request #6616 from bdarnell/genproto-gopath
...
scripts: Don't erase gopath.proto after genproto.sh
2016-10-10 09:19:49 -07:00
Ben Darnell
ef4e3ef55a
scripts: Don't erase gopath.proto after genproto.sh
...
Wiping gopath.proto after a successful run does nothing but slow down
the next run unnecessarily as it downloads everything again.
2016-10-10 11:33:43 +08:00
Xiang Li
602fd6a67e
Merge pull request #6613 from mitake/ep-health
...
etcdctl: parse auth related options in endpoint health command
2016-10-09 06:58:06 -07:00
Hitoshi Mitake
644ec0ddef
etcdctl, e2e: parse auth related options in endpoint health command
...
Partially fixes https://github.com/coreos/etcd/issues/6611
2016-10-09 20:34:09 +09:00
Anthony Romano
c1d115b322
benchmark: submit keepalive requests concurrently with report.Run()
...
Otherwise report won't consume the results and the benchmark hangs.
2016-10-07 15:57:38 -07:00
Xiang Li
ac4d39cfb0
Merge pull request #6583 from sinsharat/windows_etcd3.0.1_etcdctlv2api_issue_fix
...
etcdctlv2: windows compatibility issue fix for etcd v3.0.1
2016-10-07 13:58:57 -07:00
Gyu-Ho Lee
3f60ee0d27
Merge pull request #6590 from gyuho/etcdserver
...
etcdserver: separate EtcdServer from raftNode
2016-10-07 13:39:37 -07:00
Gyu-Ho Lee
e011ea25ca
etcdserver: separate EtcdServer from raftNode
2016-10-07 13:18:39 -07:00
Gyu-Ho Lee
e1e16d9b28
Merge pull request #6608 from gyuho/news
...
NEWS: add 'prev-kv' feature for upcoming v3.0.11
2016-10-07 12:43:17 -07:00
Gyu-Ho Lee
ab2a20402e
NEWS: add 'prev-kv' feature for upcoming v3.0.11
2016-10-07 11:22:02 -07:00
Gyu-Ho Lee
71f8f3ceb6
Merge pull request #6607 from glevand/for-merge-typo
...
Documentation: Minor typo fix
2016-10-07 10:31:38 -07:00
Geoff Levand
f1437a8932
Documentation: Minor typo fix
...
Signed-off-by: Geoff Levand <geoff@infradead.org>
2016-10-07 10:17:43 -07:00
sharat
75f812eaa3
etcdctlv2: windows compatibility issue fix for etcd v3.0.1
2016-10-07 22:15:30 +05:30
Xiang Li
4e4140040a
Merge pull request #6602 from nekto0n/watchable_store_bench
...
mvcc: add BenchmarkWatchableStoreTxnPut benchmark
2016-10-07 09:13:44 -07:00
Xiang Li
e2bd6f2213
Merge pull request #6601 from nekto0n/interval_tree_fast_stab
...
adt: fast path Stab in empty interval tree
2016-10-07 09:13:23 -07:00
Xiang Li
f3cdfcdcf4
Merge pull request #6486 from glevand/for-merge-arm64
...
Get tests working on ARM64
2016-10-06 17:53:10 -07:00
Anthony Romano
686282393d
Merge pull request #6600 from heyitsanthony/report
...
benchmark: split out report and add --precise option
2016-10-06 17:14:08 -07:00
Anthony Romano
e7d8292cd1
benchmark: add --precise flag
...
Usually benchmark writes with %4.4f; this adds optional %g formatting.
2016-10-06 16:18:47 -07:00
Anthony Romano
3d28faa3eb
pkg/report, tools/benchmark: refactor report out of tools/benchmark
...
Only tracks time series when requested. Can configure output precision.
2016-10-06 16:18:47 -07:00
fanmin shi
ea9e857eb9
Merge pull request #6599 from fanminshi/lease_error_type_fix
...
Lease: Add lease errors to togRPCError()
2016-10-06 15:47:51 -07:00
Xiang Li
cbbd1f0f44
Merge pull request #6598 from xiang90/cleanup
...
v3rpc: return nil as error explicitly
2016-10-06 15:30:04 -07:00
fanmin shi
a862fd9f0f
Lease: Add lease errors to togRPCError()
...
This allows lease's function to convert lease error to appropriate GRPC errors
2016-10-06 14:29:31 -07:00
Xiang Li
10cafe56b8
v3rpc: return nil as error explicitly
2016-10-06 14:14:43 -07:00
Gyu-Ho Lee
4a5fa261c6
Merge pull request #6596 from gyuho/protect-TTL
...
lease: add TTL() method
2016-10-06 11:41:51 -07:00
Gyu-Ho Lee
65ac718a11
etcdserver: use 'TTL()' on lease.Lease
2016-10-06 11:24:12 -07:00
Gyu-Ho Lee
5adca4a720
lease, leasehttp: add TTL() method
...
Fix https://github.com/coreos/etcd/issues/6595 .
2016-10-06 11:24:09 -07:00
Nikita Vetoshkin
9970ded79f
mvcc: add BenchmarkWatchableStoreTxnPut benchmark
2016-10-06 22:44:25 +05:00
Nikita Vetoshkin
eae70c9379
adt: fast path Stab in empty interval tree
2016-10-06 22:41:33 +05:00
Anthony Romano
b8079b7fc0
Merge pull request #6594 from heyitsanthony/e2e-etcdctl-timeout
...
e2e: print correct timeout for etcdctl tests
2016-10-06 10:40:46 -07:00
Xiang Li
fa1e28102e
Merge pull request #5316 from ajityagaty/too_many_allocs
...
mvcc: Reduce number of allocs in PUT when watchableStore has no watchers.
2016-10-06 09:47:59 -07:00
Anthony Romano
e28706d9e2
e2e: print correct timeout for etcdctl tests
2016-10-06 09:18:41 -07:00
Xiang Li
cc04d80b09
Merge pull request #6578 from glevand/for-merge-serial
...
test: Run integration pass in series
2016-10-05 19:28:15 -07:00
Geoff Levand
54c252ee63
clientv3/kv_test: Fix quota test
...
Updates TestKVPutError. Change the quota to work with systems
that have a 64 KiB page size. Increase the db sync wait time to
one second. Also, add some comments for the hard coded value.
Signed-off-by: Geoff Levand <geoff@infradead.org>
2016-10-05 16:41:06 -07:00
Geoff Levand
84d2ff93b0
integration/v3_grpc_test: Fix quota tests
...
Use the system page size to set the test quota size. Also, change
a comment related to setting the node quota to be more clear.
Signed-off-by: Geoff Levand <geoff@infradead.org>
2016-10-05 16:41:06 -07:00
Geoff Levand
de8adc9e03
e2e/ctl_v3_alarm_test: Fix quota test
...
Rework the over quota test to be more a realistic test. Take into
consideration that the system page size will be different across
platforms.
Signed-off-by: Geoff Levand <geoff@infradead.org>
2016-10-05 16:41:06 -07:00
Geoff Levand
8c60a532a6
e2e/ctl_v3_alarm_test: Use fixed small buf size
...
We just need a small chunk of data to test put, so to be
consistent across platforms use a fixed size of 64 bytes.
Signed-off-by: Geoff Levand <geoff@infradead.org>
2016-10-05 16:41:06 -07:00
Geoff Levand
beb194967e
Documentation: Improve quota example
...
Signed-off-by: Geoff Levand <geoff@infradead.org>
2016-10-05 16:41:06 -07:00
Geoff Levand
bdbb32dfe8
Documentation: Set ETCDCTL_API for v3 features
...
Signed-off-by: Geoff Levand <geoff@infradead.org>
2016-10-05 16:41:06 -07:00
Geoff Levand
b65a2cec18
Documentation: Clearify Space quota section
...
Signed-off-by: Geoff Levand <geoff@infradead.org>
2016-10-05 16:41:06 -07:00
Xiang Li
f0469f7f25
Merge pull request #6570 from xiang90/lease_expire
...
Fix lease expire
2016-10-05 15:49:45 -07:00
Geoff Levand
3cbc5285e0
test: Run integration pass in series
...
On slower or heavily loaded platforms running the integration pass in
parallel results in test timeout errors.
Rename the integration_pass function to integration_e2e_pass, and add two
new functions integration_pass and e2e_pass.
Signed-off-by: Geoff Levand <geoff@infradead.org>
2016-10-05 15:35:14 -07:00
Xiang Li
0f0c048e29
etcdserver: fix early lessor promotion issue
...
If we promote the lessor before finish applying all
entries from the last term, we might incorrectly renew
the already revoked leases.
Here is an example:
- Term 1: revoke lease A accepted by raft
- Old leader failed, new election happened
- Term 2: promote
- Term 2: keep alive A succeed. A now has 10 seconds TTL
- Term 2: revoke lease A from Term 1 got committed and applied
- Term 2: the lease A with 10 seconds TTL is revoked
To solve this, the new leader MUST apply all entries from old term
before promote its lessor to start accept renew requests.
2016-10-05 14:41:47 -07:00
Xiang Li
279c103517
lease: fix lease expire and add a test
2016-10-05 14:41:47 -07:00
Anthony Romano
7f0d5946ff
Merge pull request #6589 from heyitsanthony/etcdctl-lock-one-session
...
etcdctl: remove superfluous session in lock command
2016-10-05 14:36:11 -07:00