Gyu-Ho Lee
a39509ee5b
etcdmain: add '/metrics' HTTP/1 path to grpc-proxy
2016-11-18 19:40:06 -08:00
Xiang Li
2acf0806fb
Merge pull request #6869 from sinsharat/mvcc_remove_unused_restore_method
...
mvcc: remove unused restore method
2016-11-18 15:52:45 -08:00
Anthony Romano
c1581732fd
Merge pull request #6872 from heyitsanthony/srv-alert
...
discovery: warn on scheme mismatch
2016-11-18 13:41:34 -08:00
Anthony Romano
428cb21a3f
Merge pull request #6864 from heyitsanthony/watch-doc
...
Documentation: add grpc gateway watch example
2016-11-18 13:30:16 -08:00
Anthony Romano
74ae67b835
discovery: warn on scheme mismatch
2016-11-18 13:12:14 -08:00
Gyu-Ho Lee
b7cc698444
version: bump up v3.1.0-rc.1+git
2016-11-18 11:41:29 -08:00
Anthony Romano
ccf154e706
Documentation: add grpc gateway watch example
...
Shows how to use watch via grpc gateway.
2016-11-18 11:37:35 -08:00
Anthony Romano
6d9168a2ec
integration: don't expect recv to stop on CloseSend in waitResponse
2016-11-18 11:37:35 -08:00
Gyu-Ho Lee
3d5ba43211
version: bump up v3.1.0-rc.1
v3.1.0-rc.1
2016-11-18 11:16:01 -08:00
Gyu-Ho Lee
7da3019f42
Merge pull request #6862 from gyuho/network-interface
...
pkg/netutil: get default interface for tc commands
2016-11-18 10:11:59 -08:00
sharat
43078d3ced
mvcc: remove unused restore method
2016-11-18 23:04:39 +05:30
Gyu-Ho Lee
097cdbd0e4
pkg/netutil: get default interface for tc commands
...
Fix https://github.com/coreos/etcd/issues/6841 .
2016-11-17 22:49:17 -08:00
Xiang Li
68b04b7067
Merge pull request #6846 from sinsharat/mvcc_store_restore_timeout_fix
...
mvcc: store.restore taking too long triggering snapshot cycle fix
2016-11-17 22:06:43 -08:00
Anthony Romano
456569f45d
e2e: add test for v3 watch over grpc gateway
2016-11-17 15:49:58 -08:00
Anthony Romano
9a20743190
v3rpc: don't close watcher if client closes send
...
grpc-gateway will CloseSend but still want to receive updates.
2016-11-17 15:33:37 -08:00
sharat
aa2b5aec1b
mvcc : Added benchmark for store.resotre
2016-11-17 04:01:15 +05:30
sharat
f014cca644
mvcc: TestStoreRestore fix
2016-11-16 16:58:42 +05:30
sharat
95fb41a923
mvcc: store.restore taking too long triggering snapshot cycle fix
2016-11-16 16:31:20 +05:30
Xiang Li
377f19b003
Merge pull request #6857 from LK4D4/non_block_status
...
raft: return empty status if node is stopped
2016-11-15 16:44:50 -08:00
Alexander Morozov
7afc490c95
raft: return empty status if node is stopped
...
If the node is stopped, then Status can hang forever because there is no
event loop to answer. So, just return empty status to avoid deadlocks.
Fix #6855
Signed-off-by: Alexander Morozov <lk4d4math@gmail.com>
2016-11-15 15:45:23 -08:00
Anthony Romano
e55b8485dd
Merge pull request #6856 from heyitsanthony/proxy-lease-fix
...
grpcproxy: copy range request before storing in cache
2016-11-15 15:43:00 -08:00
Anthony Romano
1358a9d460
grpcproxy: copy range request before storing in cache
...
Reused Range requests would have Serialized overwritten with 'true'.
Was failing on TestV3LeaseSwitch.
2016-11-15 14:35:00 -08:00
Anthony Romano
7c8f13aed7
Merge pull request #6852 from heyitsanthony/fix-proxy-dbarrier
...
grpcproxy: watch next revision should be start revision when not 0
2016-11-15 09:21:18 -08:00
Anthony Romano
98a7c642d4
grpcproxy: watch next revision should be start revision when not 0
...
The create header revision is the current etcd revision. For watches with
rev=0, the next revision is hdr.rev+1. For watches with rev=n, the next
revision should be n.
Fixes TestDoubleBarrier timeouts.
2016-11-14 16:46:02 -08:00
Gyu-Ho Lee
677606da7d
Merge pull request #6851 from gyuho/metrics
...
v3rpc: replace grpc metrics w/ go-grpc-prometheus
2016-11-14 16:09:17 -08:00
Gyu-Ho Lee
7cac755df2
op-guide: update gRPC requests metrics
2016-11-14 15:20:16 -08:00
Gyu-Ho Lee
5e810e30cc
v3rpc: replace grpc metrics w/ go-grpc-prometheus
...
And disable histogram
2016-11-14 15:20:09 -08:00
Anthony Romano
d073512def
Merge pull request #6849 from heyitsanthony/proxy-fix-watch-create
...
grpcproxy: don't send extra watch create events
2016-11-14 12:13:40 -08:00
Anthony Romano
90ea3fbadc
grpcproxy: do not resend create event after leader loss
...
Only set CreateNotify if no watch responses have been received.
2016-11-14 10:43:06 -08:00
Anthony Romano
e40da39143
grpcproxy: only coalesce watchers that have received create response
...
Current watchers may have nextrev=0; check response count instead.
2016-11-14 09:19:02 -08:00
Anthony Romano
a2e86c1371
Merge pull request #6842 from heyitsanthony/watch-prevkv
...
grpcproxy: support prevKV watcher
2016-11-11 16:32:51 -08:00
Gyu-Ho Lee
45bba11f12
Merge pull request #6844 from gyuho/grafana
...
op-guide: add screenshot to sample Grafana dashboard
2016-11-11 16:30:02 -08:00
Gyu-Ho Lee
625366875d
op-guide: add screenshot to sample Grafana dashboard
2016-11-11 16:21:15 -08:00
Gyu-Ho Lee
70fd684843
Merge pull request #6843 from gyuho/docs
...
Documentation/op-guide: add 'monitoring' guide
2016-11-11 16:08:32 -08:00
Gyu-Ho Lee
6d83590434
Documentation/op-guide: add 'monitoring' guide
2016-11-11 15:22:07 -08:00
Anthony Romano
6604306398
grpcproxy: support prevKV watcher
...
Makes all server watchers PrevKV, discards if client watcher is not PrevKV.
2016-11-11 14:22:06 -08:00
Xiang Li
3c97e7a475
Merge pull request #6800 from sinsharat/add_benchmark_watch_latency
...
benchmark: added watch-latency
2016-11-11 12:41:26 -08:00
sharat
e5b6324771
benchmark: added watch-latency
2016-11-12 01:08:35 +05:30
Anthony Romano
b4726a9501
Merge pull request #6822 from heyitsanthony/watch-bcast
...
grpcproxy: rework watcher organization
2016-11-11 10:50:27 -08:00
Gyu-Ho Lee
5af4de0930
Merge pull request #6840 from gyuho/vendor
...
*: clean up vendor
2016-11-11 10:15:18 -08:00
Anthony Romano
395cf7de51
grpcproxy: reject invalid watch ranges
2016-11-11 10:14:35 -08:00
Anthony Romano
ec459c2185
grpcproxy: rework watcher organization
...
The single watcher / group watcher distinction limited and
complicated watcher coalescing more than necessary. Reworked:
Each server watcher is represented by a WatchBroadcast, each
client "Watcher" attaches to some WatchBroadcast. WatchBroadcasts
hold all WatchBroadcast instances for a range. WatchRanges holds
all WatchBroadcasts for the proxy.
WatchProxyStreams represent a grpc watch stream between the proxy and
a client. When a client requests a new watcher through its grpc stream,
the ProxyStream will allocate a Watcher and WatchRanges assigns it to
some WatchBroadcast based on its range.
Coalescing is done by WatchBroadcasts when it receives an update
notification from a WatchBroadcast.
Supports leader failure detection so watches on a bad member
can migrate to other members. Coincidentally, Fixes #6303 .
2016-11-11 10:14:35 -08:00
Xiang Li
4d5a12a248
Merge pull request #6839 from xiang90/ctl_v
...
etcdctl: etcdctl v3 should print out its API version
2016-11-11 10:00:14 -08:00
Xiang Li
4b417da1be
Merge pull request #6837 from purpleidea/feat/consturls
...
embed: Make immutable defaults constant
2016-11-11 09:53:55 -08:00
Gyu-Ho Lee
38ce362629
vendor: clean up, remove unnecessary deps
2016-11-11 09:51:07 -08:00
Gyu-Ho Lee
1f7e88d851
glide: rerun updatedep.sh to clean up
2016-11-11 09:50:46 -08:00
Xiang Li
1ef243e436
etcdctl: etcdctl v3 should print out its API version
2016-11-11 09:33:20 -08:00
James Shubin
745cd730a7
embed: Make immutable defaults constant
...
This changes the two immutable defaults into constants which allows
packages embedding etcd to import them as const! If they are variables,
then you'll fail with "const initializer foo is not a constant".
2016-11-11 07:34:45 -05:00
Gyu-Ho Lee
952eb4fade
Merge pull request #6833 from gyuho/news
...
NEWS: update with v3.0.15
2016-11-10 13:34:16 -08:00
Gyu-Ho Lee
7c0035637d
NEWS: update with v3.0.15
2016-11-10 13:29:07 -08:00