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
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
90a2fbe50e
Merge pull request #9966 from gyuho/maintainer
...
MAINTAINERS: add Joe Betz
2018-07-27 17:34:06 -07:00
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
f337e1b363
Merge pull request #9954 from spzala/etcdctlput
...
etcdctl: value should not be provided after \r
2018-07-27 13:50:49 -07:00
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
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
67bcf28c4e
clientv3: Use passthrough resolver for direct endpoint dialing
2018-07-27 10:15:02 -07:00
0a415cf0d6
raft: dont allocate slice and sort on every commit
2018-07-25 23:42:16 -04:00
c5bef4f731
CHANGELOG-3.3: update date
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-07-24 11:12:21 -07:00
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
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
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
29ef8ec899
CHANGELOG: Add 3.4 changelog entry for lease checkpointing feature
2018-07-24 10:37:01 -07:00
703c1b9175
CHANGELOG: Record CHANGELOG release dates for 3.1.19 and 3.2.24
2018-07-24 10:31:06 -07:00
dd440690c5
Merge pull request #9950 from gyuho/doc-metrics
...
docs: automate metrics list documentation
2018-07-24 10:23:55 -07:00
69ae028039
Merge pull request #9948 from wenjiaswe/changelog47892
...
CHANGELOG-3.2: update from #7892
2018-07-24 09:56:01 -07:00
7b71022987
CHANGELOG-3.2: update from #7892
2018-07-24 09:42:42 -07:00
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
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
d1de41efe1
lease: Add unit and integration tests for lease checkpointing
2018-07-23 16:12:42 -07:00
2edb954bce
lease: Checkpoint lease TTLs to prevent indefinite auto-renewal of long lived leases
2018-07-23 16:12:34 -07:00
3f725e190e
Merge pull request #9957 from gyuho/go-version
...
etcdserver: add "etcd_server_go_version" metric
2018-07-23 12:50:20 -07:00
b3b06a862a
clientv3: Fix maintenance APIs to directly dial grpc endpoints correctly.
2018-07-23 11:20:15 -07:00
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
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
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
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
e93fb56037
clientv3: clean up variables, add response dropping warning
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-07-22 17:59:38 -07:00
f3385418bb
clientv3: fix keepalive send interval when response queue is full
...
client should update next keepalive send time
even when lease keepalive response queue becomes full.
Otherwise, client sends keepalive request every 500ms
regardless of TTL when the send is only expected to happen
with the interval of TTL / 3 at minimum.
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-07-22 17:59:32 -07:00
752dd3a0bf
docs: generate metrics-*
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-07-22 00:34:26 -07:00
ac936365bb
tools/etcd-dump-metrics: initial commit
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-07-22 00:34:22 -07:00
bd6c6cf9e2
docs: clean up FAQs, add initial lists of metrics
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-07-22 00:15:53 -07:00
42bef8460c
*: clean up code format
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-07-21 16:34:56 -07:00
6ab3cc0a2e
mvcc: clean up code format
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-07-21 16:03:16 -07:00
51af6a062f
etcdserver: clean up code format
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-07-21 16:03:16 -07:00
90a5da18cf
clientv3: clean up code format
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-07-21 16:03:12 -07:00
15a81f2d5c
pkg: clean up code format
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-07-21 15:49:58 -07:00
6fabe6d5ab
wal: clean up code format
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-07-21 15:49:58 -07:00
1c04820026
tests: integrate "github.com/mgechev/revive" to fmt tests
...
https://github.com/mgechev/revive
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-07-21 15:49:53 -07:00
104b6a3424
docs: fix README
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-07-20 15:32:11 -07:00
e4faaf7e29
Merge pull request #9947 from gyuho/docs-docs
...
docs: add initial operate guide structure
2018-07-20 15:29:43 -07:00
88a42d91b8
Merge pull request #9946 from gyuho/log-log
...
etcdserver: support zap.Logger in FD monitoring routine
2018-07-20 15:29:28 -07:00
9f02c5836d
docs: add initial operate guide structure
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-07-20 15:27:39 -07:00
40034c45ab
docs/README: document how to build locally
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-07-20 15:16:52 -07:00
57ec2226cc
etcdserver: support zap.Logger in FD monitoring routine
...
Keep replacing capnslog
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-07-20 14:59:03 -07:00
98f54ec3f5
Merge pull request #9943 from wenjiaswe/changelog49942
...
CHANGELOG-3.2: update from #9942
2018-07-20 14:33:09 -07:00
fa42a1f7fb
CHANGELOG-3.2: update from #9942
2018-07-20 13:52:15 -07:00
938310760e
Merge pull request #9941 from wenjiaswe/changelog4metrics
...
CHANGELOG-3.3: update from #9940
2018-07-20 09:36:04 -07:00
a47f0a0dba
CHANGELOG-3.3: update from #9940
2018-07-20 09:31:03 -07:00