Gyuho Lee
fcf4241fd3
Merge pull request #9662 from fanminshi/use_svg_logo
...
readme: use svg format for logo
2018-04-30 11:38:11 -07:00
fanmin shi
86ce5bc1ee
readme: use logo svg format
2018-04-30 11:27:15 -07:00
Gyuho Lee
9718dd81d9
Merge pull request #9660 from gyuho/SA4004
...
auth: fix SA4004 - unconditionally terminated for-loop
2018-04-30 11:19:33 -07:00
Gyuho Lee
d398d41ff0
auth: break TLS VerifiedChains for-loop early
...
Fix "auth/store.go:1147:4: the surrounding loop is unconditionally terminated (SA4004)"
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-04-30 10:34:59 -07:00
Gyuho Lee
cdadc4638d
test: enable static analysis "SA4004"
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-04-30 10:04:44 -07:00
Gyuho Lee
4bab1e1be2
Merge pull request #9654 from gyuho/auth
...
auth: support structured logging
2018-04-27 14:47:02 -07:00
Gyuho Lee
5fd9270d6c
test: disable SA4004 temporarily
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-04-27 14:21:17 -07:00
Gyuho Lee
30dd8a7dde
etcdserver: support structured logging for auth
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-04-27 14:19:51 -07:00
Gyuho Lee
da4a982b1c
auth: support structured logging
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-04-27 14:19:48 -07:00
Gyuho Lee
e83cc218fc
Merge pull request #9651 from gyuho/netutil
...
pkg/netutil: use structured logging for TCP resolve
2018-04-27 12:38:23 -07:00
Gyuho Lee
b30a14d100
Merge pull request #9652 from gyuho/systemd
...
vendor: upgrade go-systemd to v16, clean unused vendor
2018-04-27 12:38:09 -07:00
Gyuho Lee
9c4ab836de
CHANGELOG-3.4: add "go-systemd" upgrade
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-04-27 11:49:51 -07:00
Gyuho Lee
a3de1ea731
vendor: remove unused, upgrade "go-systemd"
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-04-27 11:46:44 -07:00
Gyuho Lee
4baaf322fa
pkg/netutil: create doc.go
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-04-27 11:41:50 -07:00
Gyuho Lee
0e565c8960
etcdserver: use structured logging in "advertiseMatchesCluster"
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-04-27 11:40:30 -07:00
Gyuho Lee
e8ba8feaed
pkg/netutil: use structured logging for TCP resolve
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-04-27 11:40:13 -07:00
Gyuho Lee
61ae9cbd85
Merge pull request #9645 from jaricftw/fix-comments
...
raft: fix a few comments
2018-04-27 11:25:46 -07:00
Jia Zhan
d14b705355
raft: fix a few comments
2018-04-27 11:25:06 -07:00
Gyuho Lee
7582a28cc6
Merge pull request #9628 from wenjiaswe/new1
...
etcd-dump-logs: add entry-type flag to list entries of specific types…
2018-04-27 10:40:35 -07:00
Gyuho Lee
4a09318243
Merge pull request #9650 from wenjiaswe/new1ChangeLog
...
CHANGELOG: update from #9628
2018-04-27 10:39:13 -07:00
Wenjia Zhang
001560829e
CHANGELOG: update from #9628
2018-04-27 10:30:04 -07:00
Xiang Li
5fca0ec7bd
Merge pull request #9649 from cosgroveb/cleanup_lease_queue_todo
...
lease: Clean-up old TODO around lease map and priority queue
2018-04-27 09:24:59 -07:00
Brian Cosgrove
13ed9f3197
lease: Clean-up old TODO around lease map and priority queue
...
This TODO was addressed in #9418 .
2018-04-27 10:08:15 -05:00
Wenjia Zhang
553325721a
etcd-dump-logs: add entry-type flag to list entries of specific types and add test
2018-04-26 18:59:51 -07:00
Gyuho Lee
02e2e3def7
tests/docker-dns-srv: revert Dockerfile change
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-04-26 15:13:09 -07:00
Gyuho Lee
c460a09225
tests: use zap logger in DNS tests
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-04-26 15:12:13 -07:00
Gyuho Lee
8baa2401b1
Merge pull request #9644 from gyuho/log
...
*: add more structured logging supports
2018-04-26 15:02:55 -07:00
Gyuho Lee
829c4479f3
etcdmain: support structured logging for discovery service
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-04-26 14:36:22 -07:00
Gyuho Lee
c316e6773b
embed: clean up structured logging calls
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-04-26 14:36:22 -07:00
Gyuho Lee
f7f6fdeb52
etcdserver: support structured logger for discovery, compactor
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-04-26 14:36:22 -07:00
Gyuho Lee
6a016cbd86
discovery: support structured logger
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-04-26 14:36:18 -07:00
Gyuho Lee
f269c42aad
compactor: support structured logger
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-04-26 14:21:15 -07:00
Gyuho Lee
73efa9fded
CHANGELOG-3.5: highlight "--log-outputs" change
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-04-26 12:28:54 -07:00
Gyuho Lee
a0f1ed3d6b
Merge pull request #9643 from gyuho/doc
...
*: improve documentation around logger change
2018-04-26 11:54:40 -07:00
Gyuho Lee
2271db7552
pkg/logutil: add godoc on zap encoder field names
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-04-26 11:54:00 -07:00
Gyuho Lee
6d0f71e4c2
embed: improve "--log-outputs" error message, add godoc
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-04-26 11:54:00 -07:00
Gyuho Lee
b0e4fc3974
CHANGELOG: update with latest logger change
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-04-26 11:54:00 -07:00
Gyuho Lee
fd227254ef
Documentation/upgrades: update guides with latest logger change
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-04-26 11:54:00 -07:00
Gyuho Lee
dca3f5e3ad
Merge pull request #9626 from yudai/fix_set_inexist_dir
...
etcdserver: Fix v2v3api set to create parent directly if not exists
2018-04-26 11:50:27 -07:00
Gyuho Lee
624f421d21
Merge pull request #9642 from lorneli/idutil-dev
...
pkg/idutil: use count field as atomic variable
2018-04-26 11:48:23 -07:00
lorneli
54827d47ee
pkg/idutil: use count field as atomic variable
...
Use atomic.AddUint64 instead of mutex lock to inc count field.
Bench result:
benchmark old ns/op new ns/op delta
BenchmarkNext-4 163 26.3 -83.87%
2018-04-27 00:44:45 +08:00
Iwasaki Yudai
3c25465855
etcdserver: Fix v2v3api set to create parent directly if not exists
...
When a new file is created under an non existent directly,
the v2 API automatically create the parent directly.
This commit aligns the behaviour of v2v3 emulation to comply with the v2
API.
2018-04-25 17:36:59 -07:00
Gyuho Lee
b6578c8f4d
embed: error when different values are specified in "--log-output"
...
"--log-output default,a.log" should error out when etcd
runs as a systemd unit. We expect 'default' to be overridden
explicitly.
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-04-25 17:09:22 -07:00
Gyuho Lee
755b508a8e
Merge pull request #9632 from ericchiang/grpc-logs-spam
...
etcdctl/ctlv3/command: don't print gRPC WARNING logs by default
2018-04-25 17:02:06 -07:00
Eric Chiang
55001977ed
etcdctl/ctlv3/command: don't print gRPC WARNING logs by default
...
Despite holding important information, these are too noisy.
See https://github.com/coreos/etcd/pull/9623
2018-04-25 15:26:54 -07:00
Gyuho Lee
62a385b1ca
CHANGELOG-3.4: add v2v3 emulation fix
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-04-25 14:50:48 -07:00
Gyuho Lee
ccf959c0d4
Merge pull request #9624 from gyuho/journald
...
*: support journald with structured logging zap, rename to "--log-outputs"
2018-04-25 14:22:03 -07:00
Gyuho Lee
154e2ac38e
embed: do not import journald dependencies on windows
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-04-25 13:52:53 -07:00
Gyuho Lee
9cd9ae284f
pkg/logutil: do not build journald logger on windows
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-04-25 13:52:30 -07:00
Gyuho Lee
88c70d0ca9
embed,integration,snapshot: use "LogOutputs"
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-04-25 13:27:31 -07:00