Sam Batschelet
a9fcc82e4d
Merge pull request #10033 from zhenghc/master
...
Documentation: add Transwarp to production user
2018-08-23 07:17:06 -04:00
huaicheng.zheng
98d57b278a
Documentation: add Transwarp to production user
2018-08-23 10:19:02 +08:00
Sam Batschelet
bdc333359b
Merge pull request #10031 from zhaohaidao/master
...
raft: fix typo in test
2018-08-22 12:39:14 -04:00
Zhao Haiyuan
6ee880eb5b
raft: fix typo in test
2018-08-22 23:48:47 +08:00
Gyuho Lee
2921ab670f
Merge pull request #10028 from spzala/geterror
...
etcdctl: fix get command error when no arg provided
2018-08-20 12:56:41 -07:00
Sahdev P. Zala
7f001c1f00
etcdctl: fix get command error when no arg provided
...
The current error is incorrect. Providing a similar one to the del
command.
2018-08-19 19:54:18 -04:00
Gyuho Lee
0a25f49d61
Merge pull request #10021 from jingyih/add_log_level_checking_in_logging_interceptor
...
etcdserver/api/v3rpc/interceptor: add log level checking
2018-08-17 18:08:01 -07:00
Jingyi Hu
8d85259b56
etcdserver/api/v3rpc/interceptor: add log level checking
...
Check log level before generating and writing log info.
2018-08-17 16:12:05 -07:00
Gyuho Lee
6890a9e633
Merge pull request #10018 from ymmt2005/fix_sample_conf
...
sample: correct directive name
v3.3.9_plus_git
2018-08-16 07:23:56 -07:00
ymmt
73a8bf1fb1
sample: correct directive name
...
Both "client-transport-security" and "peer-transport-security"
is mapped to Go struct embed.securityConfig.
Field for client certificate authentication is tagged as
"client-cert-auth", but it is misspelled in "peer-transport-security"
section.
2018-08-16 22:25:16 +09:00
Gyuho Lee
2a6bc7d113
Merge pull request #9997 from gyuho/snap-metrics
...
*: add v3 snapshot metrics (fsync, network)
2018-08-15 14:16:29 -07:00
Gyuho Lee
6f4c509ad8
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-15 12:56:50 -07:00
Gyuho Lee
c392cd20cf
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-15 12:56:44 -07:00
Gyuho Lee
e72730ab20
Merge pull request #10007 from ringtail/master
...
Document: add lucas to integrations.md
2018-08-15 00:01:14 -07:00
ringtail
acf176ac95
Document: add lucas to integrations.md
...
add lucas to integrations.md
2018-08-15 14:58:06 +08:00
Gyuho Lee
3c89938adf
Merge pull request #9866 from spzala/checkhashkv
...
Tools: new benchmark for the hashkv performance
2018-08-13 19:20:42 -07:00
Gyuho Lee
18f85684da
tools/benchmark: clean up formatting
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2018-08-13 19:19:46 -07:00
Gyuho Lee
f87b566248
Merge pull request #9998 from gyuho/member-id
...
etcdserver: add "etcd_server_id" metric
2018-08-13 00:39:48 -07:00
Gyuho Lee
eb6738053b
etcdserver: add "etcd_server_id" metric
...
```
etcd_server_id{server_id="8e9e05c52164694d"} 1
```
Useful for automating membership change operations,
no need to run "endpoint status" or "member list"
command to get member IDs.
Also, useful for "etcd_network" metrics with "To/From" labels.
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2018-08-13 00:39:18 -07:00
Gyuho Lee
3a037744de
Merge pull request #9990 from jingyih/dev_workload_analysis_tool
...
etcdserver: add grpc interceptor to log info on incoming request to etcdserver
2018-08-10 23:15:04 -07:00
Xiang Li
11dd0b583b
Merge pull request #9982 from bdarnell/pagination
...
raft: Introduce CommittedEntries pagination
2018-08-11 09:12:46 +08:00
Jingyi Hu
368010d8a3
etcdserver: code clean up
...
Code clean up in interceptor.go
2018-08-10 16:29:42 -07:00
Gyuho Lee
59e084d37b
Merge pull request #9991 from dlipovetsky/snapshot-file-permission-release-note
...
CHANGELOG: Add 3.4 changelog entry for snapshot file permissions change
2018-08-10 14:07:57 -07:00
Daniel Lipovetsky
f52a990340
CHANGELOG: Add 3.4 changelog entries for snapshot file permissions change
2018-08-10 13:37:25 -07:00
Jingyi Hu
30662940f4
vendor: add go-grpc-middleware
...
Rebased to master PR #9994 . Fixed a Go format issue in
v3rpc/interceptor.go. Updated vendor to include go-grpc-middleware.
2018-08-10 13:15:35 -07:00
Sahdev P. Zala
40b66d1f18
Etcdctl: benchmark for hashkv performance
...
The benchmark as a sub command of put when provided will fetch hashkv and checks
the time taken to get it.
Fixed # 8910
Provider a way to etcd user to check how long it takes to get
hashkv in user enviornment. The command ouput will provide time taken
to get hashkv along with db file size.
2018-08-10 15:53:41 -04:00
Jingyi Hu
dc01734c6b
etcdserver: add grpc interceptor to log info on incoming requests to
...
etcd server
To improve debuggability of etcd v3. Added a grpc interceptor to log
info on incoming requests to etcd server. The log output includes
remote client info, request content (with value field redacted), request
handling latency, response size, etc. Uses zap logger if available,
otherwise uses capnslog.
Also did some clean up on the chaining of grpc interceptors on server
side.
2018-08-10 11:01:07 -07:00
Gyuho Lee
457a96d931
Merge pull request #9994 from gyuho/grpc
...
vendor: upgrade google.golang.org/grpc to v1.14.0
2018-08-10 06:36:33 -07:00
Gyuho Lee
7e2e71ce7e
words: whitelist "ErrConnClosing"
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-08-09 20:01:35 -07:00
Gyuho Lee
6c6bc3a200
vendor: upgrade google.golang.org/grpc to v1.14.0
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-08-09 19:36:35 -07:00
Gyuho Lee
d726baf02c
Gopkg.lock: regenerate with gRPC v1.14
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-08-09 19:36:18 -07:00
Gyuho Lee
aeb418b815
clientv3/integration: remove "transport.ErrConnClosing" match
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-08-09 19:27:37 -07:00
Gyuho Lee
4fa58fc062
Merge pull request #9993 from philips/dash-force-new-cluster
...
Documentation: v2: add -- for force new cluster
2018-08-09 10:47:01 -07:00
Brandon Philips
d05d522398
Documentation: v2: add -- for force new cluster
...
this doc is inconsistent between --force-new-cluster and
-force-new-cluster. Use the latter as it is the preferred option in
etcd.
2018-08-09 10:13:27 -07:00
Gyuho Lee
d984482d1b
README: warn about repository transfer
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-08-08 14:08:37 -07:00
Sam Batschelet
2fe491851e
Merge pull request #9977 from dlipovetsky/etcdctl-snapshot-permissions
...
clientv3: make saved snapshot readable by user only
2018-08-08 16:34:23 -04:00
Daniel Lipovetsky
ddde272fb0
clientv3: Make saved snapshot readable by user only
...
Fixes #9976
2018-08-08 12:46:17 -07:00
Xiang Li
6002bf37ba
Merge pull request #9985 from bdarnell/flow-control
...
raft: Make flow control more aggressive
2018-08-08 10:11:54 -07:00
Ben Darnell
a9e7c1e11f
raft: Make flow control more aggressive
...
We allow multiple in-flight append messages, but prior to this change
the only way we'd ever send them is if there is a steady stream of new
proposals. Catching up a follower that is far behind would be
unnecessarily slow (this is exacerbated by a quirk of CockroachDB's
use of raft which limits our ability to catch up via snapshot in some
cases).
See cockroachdb/cockroach#27983
2018-08-08 11:10:54 -04:00
Gyuho Lee
6c9a853f04
CHANGELOG: add links to "List of metrics"
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-08-08 07:22:18 -07:00
Gyuho Lee
fdab22c9c6
Merge pull request #9979 from gyuho/20180802-vendor-grpc
...
vendor: upgrade gRPC to v1.14.0
2018-08-07 14:35:28 -07:00
Ben Darnell
0a670b7c9b
raft: Introduce CommittedEntries pagination
...
The MaxSizePerMsg setting is now used to limit the size of
Ready.CommittedEntries. This prevents out-of-memory errors if the raft
log has become very large and commits all at once.
2018-08-07 12:54:34 -04:00
Gyuho Lee
9ad8f4c350
Merge pull request #9983 from gyuho/20180806-clientv3-docs
...
docs: update gRPC, add feature comparison
2018-08-07 04:28:07 -07:00
Gyuho Lee
3599938cf0
Merge pull request #9984 from gyuho/20180806-metrics-all
...
docs,tools/etcd-dump-metrics: automate metrics documentation
2018-08-07 04:27:25 -07:00
Gyuho Lee
b42a9ce20e
MAINTAINERS: change gyuho's email to AWS
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-08-06 20:54:41 -07:00
Ben Darnell
bc14deecca
raft: Add a test for MaxSizePerMsg feature
...
Ensure that this limit is respected when generating MsgApp messages.
2018-08-06 16:52:16 -04:00
Gyuho Lee
902893f231
docs: add all v3.1 metrics
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-08-06 10:02:22 -07:00
Gyuho Lee
2c1c191566
docs: add all v3.2 metrics
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-08-06 09:54:18 -07:00
Gyuho Lee
e83d6c2234
docs: add all v3.3 metrics
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-08-06 09:31:53 -07:00
Gyuho Lee
cf5dc560c8
tools/etcd-dump-metrics: automate metrics fetch from release binaries
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-08-06 09:30:52 -07:00