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
Gyuho Lee
f457aafaf1
docs: move metrics files to sub-directory
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-08-06 09:29:52 -07:00
Gyuho Lee
9d1114f0db
docs: update monitoring index
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-08-06 09:28:59 -07:00
Gyuho Lee
0d189c661a
docs: add "Client Feature Matrix"
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-08-06 09:21:47 -07:00
Gyuho Lee
fd000ae7ec
docs: update to "grpc1.14"
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-08-06 09:21:33 -07:00
Gyuho Lee
29590c9ab2
docs/img: update client architecture images
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-08-06 09:20:58 -07:00
Gyuho Lee
981644af7d
scripts/updatedep: remove "dep prune" command
...
"Pruning is now performed automatically by dep ensure."
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-08-02 08:06:27 -07:00
Gyuho Lee
612266beaf
vendor: upgrade gRPC to v1.14.0
...
https://github.com/grpc/grpc-go/releases/tag/v1.14.0
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-08-02 07:59:52 -07:00
Xiang Li
93be31d43a
Merge pull request #9968 from Quasilyte/quasilyte/fixCaseOrder
...
etcdctl/ctlv2/command: fix type switch case order
2018-07-29 11:38:31 -07:00
Xiang Li
fa20b61c9f
Merge pull request #9970 from Quasilyte/quasilyte/namedConst
...
contrib/recipes: use clientv3.NoLease instead of 0
2018-07-29 11:37:39 -07:00
Xiang Li
d1f49d4a40
Merge pull request #9969 from Quasilyte/quasilyte/boolExprSimplify
...
etcdserver/api/v2discovery: simplify !(x == y) to x != y
2018-07-28 15:47:05 -07:00
Iskander Sharipov
1de9e1b00d
contrib/recipes: use clientv3.NoLease instead of 0
...
If we have a named const, it's more readable to use that.
Found using https://go-critic.github.io/overview#namedConst-ref
2018-07-28 23:56:45 +03:00
Iskander Sharipov
d0f800c930
etcdserver/api/v2discovery: simplify !(x == y) to x != y
...
Found using https://go-critic.github.io/overview#boolExprSimplify-ref
2018-07-28 23:47:17 +03:00
Iskander Sharipov
3da90b6d3e
etcdctl/ctlv2/command: fix type switch case order
...
Since syscall.Errno implements net.Error and all cases
are matched sequentially, it's a mistake to put syscall.Errno
case after net.Error since it will never be executed.
This change swaps syscall.Errno case with net.Error
to give that clause chance to execute.
2018-07-28 23:33:13 +03:00
Gyuho Lee
90a2fbe50e
Merge pull request #9966 from gyuho/maintainer
...
MAINTAINERS: add Joe Betz
2018-07-27 17:34:06 -07:00
Gyuho Lee
df2190e382
MAINTAINERS: add Joe Betz
...
Joe has been helping fix lots of bugs and involved
in critical feature design/implementation,
plus leading patch release process for over a year.
Thanks for your excellent work.
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-07-27 17:03:24 -07:00
Gyuho Lee
f337e1b363
Merge pull request #9954 from spzala/etcdctlput
...
etcdctl: value should not be provided after \r
2018-07-27 13:50:49 -07:00
Gyuho Lee
d16c8b3880
Merge pull request #8689 from nvanbenschoten/nvanbenschoten/commit
...
raft: don't allocate slice and sort on every commit
2018-07-27 13:50:04 -07:00
Joe Betz
1c382a4868
Merge pull request #9945 from jpbetz/balancer-maintanance-api-fix
...
clientv3: Fix maintenance APIs to directly dial grpc endpoints directly
2018-07-27 10:15:25 -07:00
Joe Betz
67bcf28c4e
clientv3: Use passthrough resolver for direct endpoint dialing
2018-07-27 10:15:02 -07:00
Kostas Christidis
9431532730
raftexample: Fix publish snapshot error message
...
The error message is different to the condition it checks for. This PR
modifies the error message accordingly.
Closes #9717 .
Signed-off-by: Kostas Christidis <kostas@christidis.io>
2018-07-26 11:14:15 -04:00
Nathan VanBenschoten
0a415cf0d6
raft: dont allocate slice and sort on every commit
2018-07-25 23:42:16 -04:00
Gyuho Lee
c5bef4f731
CHANGELOG-3.3: update date
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-07-24 11:12:21 -07:00
Gyuho Lee
54d2b327f6
Merge pull request #9961 from jpbetz/changelog-checkpoints
...
CHANGELOG: Add 3.4 changelog entry for lease checkpointing feature
2018-07-24 11:11:36 -07:00
Gyuho Lee
9661648869
Merge pull request #9960 from jpbetz/changelog-3.1.19-3.2.24
...
CHANGELOG: Record CHANGELOG release dates for 3.1.19 and 3.2.24
2018-07-24 11:11:15 -07:00
Joe Betz
a2ecd6b676
clientv3: Simplify TestDialTLSNoConfig now that dial with grpc.WithBlock correctly results in a client timeout error
2018-07-24 10:45:03 -07:00
Joe Betz
29ef8ec899
CHANGELOG: Add 3.4 changelog entry for lease checkpointing feature
2018-07-24 10:37:01 -07:00
Joe Betz
703c1b9175
CHANGELOG: Record CHANGELOG release dates for 3.1.19 and 3.2.24
2018-07-24 10:31:06 -07:00
Gyuho Lee
dd440690c5
Merge pull request #9950 from gyuho/doc-metrics
...
docs: automate metrics list documentation
2018-07-24 10:23:55 -07:00
Gyuho Lee
69ae028039
Merge pull request #9948 from wenjiaswe/changelog47892
...
CHANGELOG-3.2: update from #7892
2018-07-24 09:56:01 -07:00
Wenjia Zhang
7b71022987
CHANGELOG-3.2: update from #7892
2018-07-24 09:42:42 -07:00
Joe Betz
750b87d622
Merge pull request #9924 from jpbetz/persist-lease-deadline
...
lease: Persist remainingTTL to prevent indefinite auto-renewal of long lived leases
2018-07-24 09:39:57 -07:00
Gyuho Lee
6e0c0d0b9a
CHANGELOG: track clientv3 fix, etcd_server_go_version
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-07-23 16:30:33 -07:00
Joe Betz
d1de41efe1
lease: Add unit and integration tests for lease checkpointing
2018-07-23 16:12:42 -07:00
Joe Betz
2edb954bce
lease: Checkpoint lease TTLs to prevent indefinite auto-renewal of long lived leases
2018-07-23 16:12:34 -07:00
Gyuho Lee
3f725e190e
Merge pull request #9957 from gyuho/go-version
...
etcdserver: add "etcd_server_go_version" metric
2018-07-23 12:50:20 -07:00
Joe Betz
b3b06a862a
clientv3: Fix maintenance APIs to directly dial grpc endpoints correctly.
2018-07-23 11:20:15 -07:00
Sahdev P. Zala
b43fdbcfa4
ETCDCTL: value can not be provided after \r
...
Document that etcdctl do not support providing value after using \r and that multiple lines
or spaces requires to be double-quoted.
Fixed #9937
2018-07-23 14:11:40 -04:00
Gyuho Lee
643d791a11
etcdserver: add "etcd_server_go_version" metric
...
Currently, one has to look at server logs manually,
to see what Go version was used to build etcd server.
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-07-23 09:15:22 -07:00
Gyuho Lee
0458c5d54b
Merge pull request #9951 from gyuho/revive
...
*: integrate https://github.com/mgechev/revive with fmt tests
2018-07-23 06:39:33 -07:00
Xiang Li
e4e347133e
Merge pull request #9952 from gyuho/fix-keepalive
...
clientv3: fix keepalive send interval when response queue is full
2018-07-22 22:20:23 -07:00