Xiang Li
354891f75d
Merge pull request #6634 from gyuho/manual
...
integration: add TestV3WatchWithPrevKV
2016-10-12 16:42:42 -07:00
Hongchao Deng
c3948284a0
integration: add TestV3WatchWithPrevKV
2016-10-12 16:21:52 -07:00
Gyu-Ho Lee
614adb0230
Merge pull request #6628 from gyuho/fix-waitgroup
...
etcdserver: make WaitGroup.Add sync with Wait
2016-10-12 14:10:54 -07:00
Anthony Romano
546873f27e
Merge pull request #6632 from heyitsanthony/grpc-naming
...
clientv3/naming: support resolving to multiple hosts
2016-10-12 13:18:36 -07:00
Gyu-Ho Lee
0c61d8804a
etcdserver: make WaitGroup.Add sync with Wait
2016-10-12 13:11:35 -07:00
Xiang Li
a97866b629
Merge pull request #6633 from xiang90/fix_rev_inconsistency
...
mvcc: fix rev inconsistency
2016-10-12 13:04:15 -07:00
Anthony Romano
3dbd30fcaa
Documentation: add grpc naming resolver doc
2016-10-12 11:56:14 -07:00
Anthony Romano
7d50dc06a2
clientv3/naming: support resolving to multiple hosts
...
Previous implementation watches a single key so there's no way
to have separate hosts associate with separate keys for a single
grpc target. Instead, accept all keys on a prefix.
Also fixes first the Next() to read current name data from etcd instead
of waiting for the next event on a synced watcher.
2016-10-12 11:27:22 -07:00
Xiang Li
93225ebafc
mvcc: fix rev inconsistency
...
Try:
./etcdctl put foo bar
./etcdctl del foo
./etcdctl compact 3
restart etcd
./etcdctl get foo
mvcc: required revision has been compacted
The error is unexpected when range over the head revision.
Internally, we incorrectly set current revision smaller than the
compacted revision when we remove all keys around compacted revision.
This commit fixes the issue by recovering the current revision at least
to compacted revision.
2016-10-12 10:42:57 -07:00
Xiang Li
cb9c77c4ba
Merge pull request #6620 from nekto0n/put_update_optimize
...
Optimize updating key by storing lease in lessor
2016-10-12 09:47:11 -07:00
Nikita Vetoshkin
064e02f4b3
mvcc: Optimize updating key by storing lease in lessor
2016-10-12 09:37:09 +05:00
Gyu-Ho Lee
66f945c4bf
Merge pull request #6629 from gyuho/clientv3-logger
...
clientv3: drop Config.Logger field
2016-10-11 17:01:13 -07:00
Gyu-Ho Lee
084c407a8d
clientv3: drop Config.Logger field
...
Fix https://github.com/coreos/etcd/issues/6603 .
Instead adds 'SetLogger' to set global logger interface
to avoid unnecessary logger updates.
2016-10-11 16:38:32 -07:00
Xiang Li
e9f3101c49
Merge pull request #6625 from xiang90/grpc_proxy_doc
...
doc: add grpc proxy doc
2016-10-11 16:06:05 -07:00
Xiang Li
17a6025ac8
doc: add grpc proxy doc
2016-10-11 15:15:45 -07:00
Xiang Li
4c1a738caf
Merge pull request #6627 from xiang90/apply_log
...
etcdserver: better panic logging
2016-10-11 14:44:46 -07:00
Xiang Li
dbaa44372b
etcdserver: better panic logging
2016-10-11 13:34:18 -07:00
Anthony Romano
c10dad41a3
Merge pull request #6604 from sinsharat/support_debug_build_using_delve_gdb
...
build: Added support for debugging using delve, gdb, etc
2016-10-11 13:03:35 -07:00
sharat
9ac2c8072a
build: Added support for debugging using delve, gdb, etc
2016-10-12 01:00:15 +05:30
Anthony Romano
a7247b3c7e
Merge pull request #6618 from heyitsanthony/fix-e2e-err-leak
...
e2e: close process if spawnWithExpects fails
2016-10-11 11:30:28 -07:00
Anthony Romano
2448f6a003
e2e: close process if spawnWithExpects fails
...
Was causing a process leak in TestCtlV3Alarm
2016-10-10 15:52:37 -07:00
Gyu-Ho Lee
d7f69d0f92
Merge pull request #6617 from gyuho/vendor-update
...
vendor: update glide and grpc-go
2016-10-10 14:48:17 -07:00
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