Gyuho Lee
aaab73020c
Merge pull request #11316 from jingyih/automated-cherry-pick-of-#11308-upstream-release-3.2
...
Automated cherry pick of #11308 on release-3.2
2019-10-30 21:24:44 -07:00
Jingyi Hu
e2cb1a417c
etcdserver: wait purge file loop during shutdown
...
To prevent the purge file loop from accidentally acquiring the file lock
and remove the files during server shutdowm.
2019-10-30 17:07:03 -07:00
Gyuho Lee
fb5e7bfe00
Merge pull request #11277 from wenjiaswe/fixtests
...
e2e test: remove metricsURLScheme from e2e tests
2019-10-17 17:12:27 -07:00
Wenjia Zhang
8a0b902bc6
Fix e2e tests failure
2019-10-17 17:02:47 -07:00
Gyuho Lee
db9f5b0e43
Merge pull request #11271 from wenjiaswe/automated-cherry-pick-of-#11261-upstream-release-3.2
...
cherry pick "etcd_cluster_version" metric" (#10257 , #11233 , #11254 , #11265 ) to release-3.2
2019-10-17 14:17:44 -07:00
Wenjia Zhang
fc5f94144b
Add cluster version fix #11233 , #11254 , #11265
2019-10-17 12:39:47 -07:00
Gyuho Lee
a038dc6464
tests/e2e: test cluster version
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2019-10-17 12:39:47 -07:00
Gyuho Lee
5454bb9982
etcdserver/*: add "etcd_cluster_version" metric
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2019-10-17 12:39:47 -07:00
Gyuho Lee
cc959b4e5a
Merge pull request #11195 from andyliuliming/release-3.2-cherry
...
etcdserver: cherry-pick skip client san verification option for 3.2 version.
2019-10-09 09:42:22 -07:00
Andy Liu
c552f11bfe
helper document update.
2019-10-09 13:32:13 +08:00
Andy Liu
ab1f4fec07
etcdserver: add unit test.
2019-10-03 16:03:47 +08:00
Andy Liu
e16076a8e0
etcdserver: cherry-pick skip client san verification option for 3.2 version.
...
Co-authored-by: Martin Weindel <martin.weindel@sap.com>
Co-authored-by: Jingyi Hu <jingyih@google.com>
Co-authored-by: Liming Liu <andyliuliming@outlook.com>
2019-10-03 10:15:09 +08:00
Gyuho Lee
bdd97d5ffa
version: 3.2.27
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
v3.2.27
2019-09-17 13:32:44 -07:00
Gyuho Lee
b7fab558a1
Merge pull request #11157 from gyuho/release-3.2-patch
...
etcdctl/ctlv3: do not modify db file on "restore"
2019-09-17 11:10:58 -07:00
Gyuho Lee
c7e4e50879
scripts: remove "ACI" builds
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2019-09-16 22:53:44 -07:00
zhesi.huang
4e375497ea
etcdctl/ctlv3: do not modify db file on "restore"
2019-09-16 22:43:25 -07:00
Jingyi Hu
c074e5c12b
Merge pull request #11135 from jingyih/automated-cherry-pick-of-#11126-origin-release-3.2
...
Automated cherry pick of #11126 on release-3.2
2019-09-07 00:03:52 -07:00
Jingyi Hu
948c284235
mvcc: add store revision metrics
...
Add experimental metrics etcd_debugging_mvcc_current_revision and
etcd_debugging_mvcc_compact_revision.
2019-09-06 17:22:45 -07:00
Gyuho Lee
85015077a4
Merge pull request #10794 from jingyih/automated-cherry-pick-of-#10788-origin-release-3.2
...
Automated cherry pick of #10788 on release-3.2
2019-06-05 14:40:04 -07:00
Jingyi Hu
6dd1e913a1
ctlv3: add missing newline in EndpointHealth
...
To make the output consistent with the output before #9540 .
2019-06-05 14:37:59 -07:00
Gyuho Lee
4a1ffd836a
Merge pull request #10783 from jingyih/cherrypick_9540_to_release3p2
...
ctlv3: cherry pick of #9540 to release 3.2
2019-06-04 09:52:32 -07:00
Gyuho Lee
64d53adb1f
ctlv3: support "write-out" for "endpoint health" command
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2019-06-03 17:30:31 -07:00
Luc Perkins
29d42fa1d2
Documentation metadata for 3.2 branch ( #10695 )
...
* Add documentation metadata and remove v2 docs
Signed-off-by: lucperkins <lucperkins@gmail.com>
* Add upgrade _index.md
Signed-off-by: lucperkins <lucperkins@gmail.com>
2019-04-30 14:02:44 -07:00
Joe Betz
42f7d25d8c
Merge pull request #10657 from jpbetz/automated-cherry-pick-of-#10646-release-3.2
...
Automated cherry pick of #10646
2019-04-18 14:10:05 -07:00
Yingnan Zhang
bcbe6dbc29
mvcc: fix db_compaction_total_duration_milliseconds
2019-04-17 16:32:46 -07:00
Joe Betz
e06761ed79
Merge pull request #10452 from jpbetz/automated-cherry-pick-of-#10443-origin-release-3.2
...
Automated cherry pick of #10443 to release 3.2
2019-02-06 09:59:10 -08:00
Iskander Sharipov
1d80d5f497
etcdctl: fix strings.HasPrefix args order
...
Signed-off-by: Iskander Sharipov <quasilyte@gmail.com>
2019-02-05 13:17:54 -08:00
Gyuho Lee
06cec40911
version: 3.2.26
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
v3.2.26
2019-01-11 10:04:58 -08:00
Gyuho Lee
ab4693d97f
Merge pull request #10386 from hexfusion/release-3.2
...
[Cherry-pick 3.2] auth: disable CommonName auth for gRPC-gateway
2019-01-11 10:01:12 -08:00
Sam Batschelet
a2b420c364
auth: disable CommonName auth for gRPC-gateway
...
Signed-off-by: Sam Batschelet <sbatsche@redhat.com>
2019-01-08 21:09:07 +00:00
Gyuho Lee
dfd8fe97c5
Merge pull request #10334 from gyuho/patch-grpc-proxy
...
[Cherry-pick 3.2] grpcproxy: fix memory leak
2018-12-17 20:35:23 -08:00
Igor German
ada4af3b2a
grpcproxy: fix memory leak
...
use set instead of slice as interval value
fixes #10326
2018-12-17 18:58:04 -08:00
Joe Betz
2e27fef277
version: bump up to 3.2.25+git
2018-10-10 11:13:42 -07:00
Joe Betz
182de1a9e1
version: bump up to 3.2.25
v3.2.25
2018-10-10 10:53:11 -07:00
Gyuho Lee
6e15f11fd9
etcdserver: add "etcd_server_read_indexes_failed_total"
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2018-10-09 18:21:41 -07:00
Gyuho Lee
b6d11019e0
rafthttp: probe all raft transports
...
This PR adds another probing routine to monitor the connection
for Raft message transports. Previously, we only monitored
snapshot transports.
In our production cluster, we found one TCP connection had >8-sec
latencies to a remote peer, but "etcd_network_peer_round_trip_time_seconds"
metrics shows <1-sec latency distribution, which means etcd server
was not sampling enough while such latency spikes happen
outside of snapshot pipeline connection.
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2018-10-09 18:17:16 -07:00
Gyuho Lee
86fdbdc7f9
etcdserver: add "etcd_server_health_success/failures"
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2018-10-09 18:04:40 -07:00
Jingyi Hu
afa5beda46
Merge pull request #10162 from jingyih/automated-cherry-pick-of-#10153-origin-release-3.2
...
clientv3: automated cherry pick of #10153 to release-3.2
2018-10-08 18:38:02 -07:00
yura
26cce20022
clientv3: concurrency.Mutex.Lock() - preserve invariant
...
Convenient invariant:
- if werr == nil then lock is supposed to be locked at the moment.
While we could not be confident in stronger invariant ('is exactly locked'),
it were inconvenient that previous code could return `werr == nil` after
Mutex.Unlock.
It could happen when ctx is canceled/timeouted exactly after waitDeletes
successfully returned werr == nil and before `<-ctx.Done()` checked.
While such situation is very rare, it is still possible.
fixes #10111
2018-10-08 16:46:22 -07:00
Gyuho Lee
a4a8d0752e
Merge pull request #10123 from jingyih/cherry-pick-of-#10109-origin-release-3.2
...
etcdctl: cherry pick of #10109 to release-3.2
2018-09-25 19:55:07 -07:00
Jingyi Hu
affd468424
etcdctl: cherry pick of #10109 to release-3.2
...
Add snapshot file integrity verification when querying snapshot status.
2018-09-25 17:07:44 -07:00
Wenjia
9452e5c1e5
Merge pull request #10042 from wenjiaswe/automated-cherry-pick-of-#9997-upstream-release-3.2
...
Automated cherry pick of #9997
2018-09-04 12:54:58 -07:00
Gyuho Lee
e2dfe0f5d9
etcdserver/api/rafthttp: add v3 snapshot send/receive metrics
...
Distribution would be:
0.1 second or more
...
25.6 seconds or more
51.2 seconds or more
etcd_network_snapshot_send_success
etcd_network_snapshot_send_failures
etcd_network_snapshot_send_total_duration_seconds
etcd_network_snapshot_receive_success
etcd_network_snapshot_receive_failures
etcd_network_snapshot_receive_total_duration_seconds
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2018-08-29 14:51:31 -07:00
Gyuho Lee
9d7242e271
etcdserver: add "etcd_server_id"
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2018-08-29 14:49:26 -07:00
Gyuho Lee
95afd1fb24
etcdserver: clarify read index wait timeout warnings
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2018-08-29 14:38:43 -07:00
Gyuho Lee
7f337ef13a
rafthttp: clarify "became inactive" warning
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2018-08-29 14:33:46 -07:00
Gyuho Lee
8f1d366c0e
etcdserver/api/snap: add v3 snapshot fsync metrics
...
etcd_snap_db_fsync_duration_seconds_count
etcd_snap_db_save_total_duration_seconds_bucket
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2018-08-28 14:03:12 -07:00
Xiang Li
b3fa36eb7f
Merge pull request #10032 from gyuho/init-metrics-3.2
...
etcdserver/api/v3rpc: display all registered gRPC metrics at start (v3.2)
2018-08-24 18:52:34 -07:00
Gyuho Lee
4928558bc9
etcdserver/api/v3rpc: display all registered gRPC metrics at start
...
Previously, only display the one that has been requested at least once.
Now it shows all metrics, as we do in v3.3 and v3.4+.
grpc_server_started_total{grpc_method="Alarm",grpc_service="etcdserverpb.Maintenance",grpc_type="unary"} 0
grpc_server_started_total{grpc_method="AuthDisable",grpc_service="etcdserverpb.Auth",grpc_type="unary"} 0
grpc_server_started_total{grpc_method="AuthEnable",grpc_service="etcdserverpb.Auth",grpc_type="unary"} 0
grpc_server_started_total{grpc_method="Authenticate",grpc_service="etcdserverpb.Auth",grpc_type="unary"} 0
grpc_server_started_total{grpc_method="Compact",grpc_service="etcdserverpb.KV",grpc_type="unary"} 0
grpc_server_started_total{grpc_method="Defragment",grpc_service="etcdserverpb.Maintenance",grpc_type="unary"} 0
grpc_server_started_total{grpc_method="DeleteRange",grpc_service="etcdserverpb.KV",grpc_type="unary"} 0
Should help document metrics.
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2018-08-22 19:12:58 -07:00
Joe Betz
73b1a2b8db
Merge pull request #10025 from jingyih/automated-cherry-pick-of-#9990-origin-release-3.2-1534373481
...
etcdserver: cherry pick of #9990 to release-3.2
2018-08-20 12:48:14 -07:00