Gyuho Lee
|
11028331e6
|
gitignore: add "*.coverprofile"
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
|
2018-05-03 17:22:34 -07:00 |
Gyuho Lee
|
acf671a94c
|
tests/e2e: separate coverage tests for exec commands
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
|
2018-05-03 17:22:34 -07:00 |
Gyuho Lee
|
44cda79105
|
etcdctl/ctlv3: fix watch with exec commands
Following command was failing because the parser incorrectly
picks up the second "watch" string in exec command, thus
passing wrong exec commands.
```
ETCDCTL_API=3 ./bin/etcdctl watch aaa -- echo watch event received
panic: runtime error: slice bounds out of range
goroutine 1 [running]:
github.com/coreos/etcd/etcdctl/ctlv3/command.parseWatchArgs(0xc42002e080, 0x8, 0x8, 0xc420206a20, 0x5, 0x6, 0x0, 0x0, 0x0, 0x0, ...)
/home/gyuho/go/src/github.com/coreos/etcd/etcdctl/ctlv3/command/watch_command.go:303 +0xbed
github.com/coreos/etcd/etcdctl/ctlv3/command.watchCommandFunc(0xc4202a7180, 0xc420206a20, 0x5, 0x6)
/home/gyuho/go/src/github.com/coreos/etcd/etcdctl/ctlv3/command/watch_command.go:73 +0x11d
github.com/coreos/etcd/vendor/github.com/spf13/cobra.(*Command).execute(0xc4202a7180, 0xc420206960, 0x6, 0x6, 0xc4202a7180, 0xc420206960)
/home/gyuho/go/src/github.com/coreos/etcd/vendor/github.com/spf13/cobra/command.go:766 +0x2c1
github.com/coreos/etcd/vendor/github.com/spf13/cobra.(*Command).ExecuteC(0x1363de0, 0xc420128638, 0xc420185e01, 0xc420185ee8)
/home/gyuho/go/src/github.com/coreos/etcd/vendor/github.com/spf13/cobra/command.go:852 +0x30a
github.com/coreos/etcd/vendor/github.com/spf13/cobra.(*Command).Execute(0x1363de0, 0x0, 0x0)
/home/gyuho/go/src/github.com/coreos/etcd/vendor/github.com/spf13/cobra/command.go:800 +0x2b
github.com/coreos/etcd/etcdctl/ctlv3.Start()
/home/gyuho/go/src/github.com/coreos/etcd/etcdctl/ctlv3/ctl_nocov.go:25 +0x8e
main.main()
/home/gyuho/go/src/github.com/coreos/etcd/etcdctl/main.go:40 +0x17b
```
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
|
2018-05-03 17:22:34 -07:00 |
Gyuho Lee
|
2ad0acdea8
|
CHANGELOG: add watch exec command fix
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
|
2018-05-03 15:20:05 -07:00 |
Gyuho Lee
|
cac6ed664c
|
Merge pull request #9690 from gyuho/wal-error
wal,fileutil: add more logs, clarify error messages
|
2018-05-03 14:57:44 -07:00 |
Gyuho Lee
|
f3d9a85697
|
wal: add warnings on fsync, flock fail paths
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
|
2018-05-03 14:01:06 -07:00 |
Gyuho Lee
|
2bb1a268b3
|
pkg/fileutil: clarify flock errors
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
|
2018-05-03 14:00:42 -07:00 |
Jiang Xuan
|
bf432648ae
|
*: make bcrypt-cost configurable
|
2018-05-03 11:43:32 -07:00 |
Gyuho Lee
|
62dfb89a89
|
Merge pull request #9683 from gyuho/sss
*: clarify missing snapshot file error message/warning
|
2018-05-02 14:45:32 -07:00 |
Gyuho Lee
|
47ab4e22d2
|
etcdserver: clarify errors from "openSnapshotBackend"
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
|
2018-05-02 14:17:22 -07:00 |
Gyuho Lee
|
e2af59e4d1
|
raftsnap: clarify "ErrNoDBSnapshot"
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
|
2018-05-02 14:17:00 -07:00 |
Gyuho Lee
|
cc44c08d94
|
Merge pull request #9682 from gyuho/zzz
*: support structured logging in v2 auth/http
|
2018-05-02 13:29:15 -07:00 |
Gyuho Lee
|
617e0aaafb
|
CHANGELOG-3.4: move "Tooling" above
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
|
2018-05-02 13:28:22 -07:00 |
Gyuho Lee
|
5828efda38
|
*: use "zap.Field"
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
|
2018-05-02 13:26:39 -07:00 |
Gyuho Lee
|
44385bc7b9
|
vendor: upgrade "go.uber.org/zap" to v1.8.0
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
|
2018-05-02 13:25:31 -07:00 |
Gyuho Lee
|
3ed6c967ce
|
pkg/proxy: silence http server logs
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
|
2018-05-02 12:59:29 -07:00 |
Gyuho Lee
|
7da365bd45
|
etcdmain: silence http server logs
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
|
2018-05-02 12:59:17 -07:00 |
Gyuho Lee
|
e7e31e9529
|
functional: silence http server logs
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
|
2018-05-02 12:59:08 -07:00 |
Gyuho Lee
|
1d18f45caf
|
integration: silence http server logs
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
|
2018-05-02 12:58:56 -07:00 |
Gyuho Lee
|
58b7ab97eb
|
integration: use structured logging in peer handler
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
|
2018-05-02 12:53:56 -07:00 |
Gyuho Lee
|
154d7ca4f2
|
embed: use structured logging in peer handler
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
|
2018-05-02 12:53:46 -07:00 |
Gyuho Lee
|
c60054abea
|
etcdserver/api/etcdhttp: use structured logging in peer handler
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
|
2018-05-02 12:53:28 -07:00 |
Gyuho Lee
|
4d863dac5a
|
mvcc: support structured logging in compact restore
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
|
2018-05-02 11:57:23 -07:00 |
Gyuho Lee
|
d2e1484762
|
integration: support structured logging in "v2http"
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
|
2018-05-02 11:57:23 -07:00 |
Gyuho Lee
|
26b0c84d29
|
embed: support structured logging in "v2http"
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
|
2018-05-02 11:57:23 -07:00 |
Gyuho Lee
|
cccf77db9e
|
etcdserver/api/v2http: support structured logging
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
|
2018-05-02 11:57:23 -07:00 |
Gyuho Lee
|
3b38cb305f
|
etcdserver/api/etcdhttp: support structured logging
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
|
2018-05-02 11:57:23 -07:00 |
Gyuho Lee
|
98fcd67e9f
|
etcdserver/v2auth: support structured logging
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
|
2018-05-02 11:57:20 -07:00 |
Gyuho Lee
|
859172e84f
|
Merge pull request #9638 from hexfusion/df
Documentation: binding listeners must be IP.
|
2018-05-02 09:56:43 -07:00 |
Gyuho Lee
|
53f51b2f0c
|
Merge pull request #9676 from gyuho/logger
*: highlight "--log-package-levels" deprecation in v3.5
|
2018-05-02 09:39:18 -07:00 |
Sam Batschelet
|
2afd827788
|
Documentation: binding listeners must be IP.
|
2018-05-02 06:56:44 -04:00 |
Gyuho Lee
|
c94cd5eee8
|
Merge pull request #9678 from gyuho/integration-logger
integration: use "zap" in tests
|
2018-05-01 16:44:58 -07:00 |
Gyuho Lee
|
6cf3dae93e
|
etcdserver/api/v3rpc: fix race in stream error logging
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
|
2018-05-01 16:19:55 -07:00 |
Gyuho Lee
|
38326d002e
|
etcdserver/v2store: use "zap" logger in v2v3 tests
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
|
2018-05-01 16:15:09 -07:00 |
Gyuho Lee
|
f6a14fb72c
|
clientv3: use "zap" logger in integration tests
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
|
2018-05-01 16:15:09 -07:00 |
Gyuho Lee
|
21d75570ee
|
integration: use "zap" logger
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
|
2018-05-01 16:15:09 -07:00 |
Gyuho Lee
|
9a2796ff9b
|
CHANGELOG-3.4: highlight "CLUSTER_DEBUG" in "integration"
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
|
2018-05-01 16:14:58 -07:00 |
Gyuho Lee
|
f85c3bfb3e
|
Merge pull request #9677 from gyuho/lll
etcdserver: clarify server membership change logging
|
2018-05-01 15:31:32 -07:00 |
Gyuho Lee
|
b3bd5887cd
|
etcdserver: clarify server membership change logging
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
|
2018-05-01 15:06:29 -07:00 |
Gyuho Lee
|
24e2af4289
|
Merge pull request #9674 from gyuho/test-script
*: use Go 1.10.2 and Go 1.9.6
|
2018-05-01 11:50:39 -07:00 |
Gyuho Lee
|
d80ef1fb51
|
etcd.conf.yml.sample: remove "--log-package-levels"
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
|
2018-05-01 11:48:39 -07:00 |
Gyuho Lee
|
9e7a3e5e91
|
Documentation/upgrades: highlight "--log-package-levels"
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
|
2018-05-01 11:48:19 -07:00 |
Gyuho Lee
|
21fdde59ad
|
CHANGELOG-3.5: deprecate "--log-package-levels" in v3.5
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
|
2018-05-01 11:48:02 -07:00 |
Xiang Li
|
02ed51d300
|
Merge pull request #9657 from yaojingguo/remove-dead-code
contrib/raftexample: remove useless check
|
2018-05-01 10:19:35 -07:00 |
Xiang Li
|
a6430644ad
|
Merge pull request #9669 from yaojingguo/fix-typo
contrib/raftexample: fix typo
|
2018-05-01 10:18:42 -07:00 |
Gyuho Lee
|
1c44634f6e
|
CHANGELOG-3.4: use Go 1.10.2
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
|
2018-05-01 10:11:09 -07:00 |
Gyuho Lee
|
4a01c4e98a
|
Makefile: use Go 1.10.2
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
|
2018-05-01 10:11:05 -07:00 |
Gyuho Lee
|
932ef6c4a3
|
tests: use Go 1.10.2 in Semaphore test
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
|
2018-05-01 10:08:43 -07:00 |
Gyuho Lee
|
79e9178181
|
travis: use Go 1.10.2
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
|
2018-05-01 10:08:27 -07:00 |
Gyuho Lee
|
18e1686bdf
|
test: only print test targets in verbose mode
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
|
2018-05-01 10:07:25 -07:00 |