15791 Commits

Author SHA1 Message Date
Gyuho Lee
e6980b1f9f
Merge pull request #11482 from cuiyuan/fix-rbcolor-string
pkg/adt: rbcolor string fix
2019-12-30 11:26:07 -08:00
cuiyuan
98f62d27be pkg/adt: rbcolor string fix 2019-12-30 19:52:34 +08:00
Jingyi Hu
5adad5e224
Merge pull request #11452 from tedyu/watch-grpc-send-err
clientv3: log warning in case of error sending request
2019-12-20 15:31:02 -08:00
Ted Yu
cb8bf089f8 clientv3: log warning in case of error sending request 2019-12-20 15:08:33 -08:00
qupeng
eaa0612e02 raft: abort leader transferring if the target is demoted (#11417)
Signed-off-by: qupeng <qupeng@pingcap.com>
2019-12-20 12:07:52 +08:00
Jingyi Hu
5770a6d286
Merge pull request #11453 from mindw/missing_metrics_doc
Documentation: added v3.4 metrics docs
2019-12-17 11:27:42 -08:00
Ted Yu
fb7703ab43 clientv3: remove ineffective nil check (#11451) 2019-12-15 21:38:25 -08:00
Gabi Davar
8223006a97
Documentation: added v3.4.x metrics docs 2019-12-15 14:13:36 +02:00
Clayton Coleman
322c38e169 Documentation/etcd-mixin: Fix etcdHighNumberOfLeaderChanges (#11448)
The `etcdHighNumberOfLeaderChanges` alert had a copy and paste
error when it was converted from docs to mixin in 10244 - we moved
from "increase over 15m > 3" to "rate over 15m > 3" which is not
the same (rate is measured per second, so it should have been
"rate over 15m > (3 / 60 / 15)").  As part of fixing that, we
need to capture when prometheus starts or when new etcd clusters
are captured with a high leader change - i.e. if you start a new
etcd cluster and at the moment prometheus first scrapes you are
already at 5 leader changes, we should fire on that transition.

This alert is also now more responsive, so if you get a quick
burst of 3 leader changes we'll alert within 5m rather than 15m.
2019-12-13 16:00:11 -08:00
Ted Yu
7f3dd59d22 mvcc: Log warning when compaction encounters error (#11447) 2019-12-13 15:59:49 -08:00
Gyuho Lee
378b05b8dd
Merge pull request #11443 from YoyinZyc/changelog-11418
CHANGELOG: Add #11418 to changelog-3.4, changelog-3.5
2019-12-11 18:16:30 -08:00
yoyinzyc
769d2f868e CHANGELOG: update for #11418 2019-12-11 16:09:20 -08:00
Fansong Zeng
d70251835d integration: gracefully shut down gRPC server (#11437) 2019-12-11 13:07:16 -08:00
Jingyi Hu
b7d9f45a43
Merge pull request #11432 from YoyinZyc/changelog-11427
CHANGELOG-3.5: update for #11427
2019-12-11 11:45:17 -08:00
yoyinzyc
69841bdb0b CHANGELOG-3.5: update for #11427 2019-12-11 11:43:04 -08:00
Jingyi Hu
4f35794458
Merge pull request #11418 from YoyinZyc/fix-add-user-grpc
auth: fix NoPassWord check when add user
2019-12-10 12:47:35 -08:00
yoyinzyc
5127cfb45f e2e: test curl auth on onoption user 2019-12-10 11:25:16 -08:00
yoyinzyc
aea34c14ca auth: fix NoPassWord check when add user 2019-12-09 14:10:54 -08:00
Gyuho Lee
9f81002a11
Merge pull request #11427 from YoyinZyc/migration-cluster-attr
Migrate cluster attributes to use v3 backend
2019-12-09 13:30:15 -08:00
yoyinzyc
7784ca8997 etcdserver: remove v2 version set; e2e: fix tests. 2019-12-09 13:08:00 -08:00
Jingyi Hu
ed5a01a48d etcdserver: recover cluster version from backend 2019-12-05 16:25:13 -08:00
Jingyi Hu
5cd2502ab1 etcdserver: use v3 to publish member attr 2019-12-05 16:25:13 -08:00
yoyinzyc
0c3401fa76 etcdserver: use V3 to update cluster version 2019-12-05 16:25:13 -08:00
Jingyi Hu
dcd622b2c7 etcdserver: add v3 request type for cluster attr
Added ClusterVersionSetRequest for setting cluster version via v3 apply.

Added ClusterMemberAttrSetRequest for setting clsuter member attributes
via v3 apply.
2019-12-05 16:25:13 -08:00
lzhfromustc
1f8764be3b integration: prevent goroutines leaks in test (#11318)
Some goroutines in test functions will be leaked in certain cases.
This patch stops these leaks no matter what happens in test, by
putting the blocking channel in select together with a new stopc
channel, or adding 1 buffer to the blocking channel.
2019-12-05 15:40:10 -08:00
poslua
fd2dddb39f vendor: bump go-systemd to v22.0.0 to fix mod tidy error (#11387) 2019-12-04 18:47:14 -08:00
sun
c5887cdc49 mvcc: go style err check (#11419) 2019-12-04 18:46:17 -08:00
schlitzered
d4d7ad3908 mirror: make etcdctl make-mirror subcommand accept --dest-user and --dest-password (#11384) 2019-12-04 14:06:49 -08:00
Gyuho Lee
e5356cca80
Merge pull request #11408 from xiang90/lock
concurrency: make lock more reliable
2019-12-04 12:10:47 -08:00
Wenjia
659f5a4086
Update CHANGELOG-3.3.md 2019-12-03 16:00:17 -08:00
Xiang Li
18e9e45bda
Merge pull request #11358 from linux-on-ibm-z/s390x-binary
scripts/build-binary: Added s390x support for binary release
2019-12-02 14:40:28 -08:00
Xiang Li
ae2bc166db
Merge pull request #11413 from YoyinZyc/fix-user-options-nil-pointer
auth: fix user.Options nil pointer
2019-12-02 14:39:38 -08:00
yoyinzyc
c8ffd921d4 auth: fix user.Options nil pointer 2019-12-02 14:09:07 -08:00
Xiang Li
b14c7cd448 concurrency: make lock more reliable 2019-12-02 10:54:30 -08:00
Jingyi Hu
d1139d3a66
Merge pull request #11404 from jingyih/update_changelog
CHANGELOG: update from PR 11403
2019-11-27 13:28:41 -08:00
Jingyi Hu
6be629cc14 CHANGELOG: update from PR 11403 2019-11-27 13:19:29 -08:00
Jingyi Hu
ccc52bef1f
Merge pull request #11400 from WIZARD-CXY/compactfix
mvcc/kvstore:fixcompactbug
2019-11-27 13:03:32 -08:00
Jingyi Hu
3275e5f064
Merge pull request #11399 from johncming/remove-dup-code
etcdmain: remove duplicate codes.
2019-11-27 12:56:53 -08:00
宇慕
655df65e93 mvcc/kvstore:fixcompactbug 2019-11-27 17:55:42 +08:00
johncming
6c0e2d31fb etcdmain: remove duplicate codes. 2019-11-27 17:04:43 +08:00
Jingyi Hu
419ffb77ab
Merge pull request #11287 from YoyinZyc/version-test-rolling-start
e2e: add cluster version test with rolling start servers
2019-11-26 15:12:54 -08:00
Wenjia
9c08316794
Merge pull request #11395 from jingyih/update_changelog
CHANGELOG: update from PR #11374
2019-11-26 15:03:22 -08:00
Jingyi Hu
49c3f74314 CHANGELOG: update from PR 11374 2019-11-26 14:16:37 -08:00
Jingyi Hu
44fc9e3d92
Merge pull request #11266 from YoyinZyc/upgrade-downgrade-test
e2e: only expect cluster's major version is > 3 in release upgrade test
2019-11-25 14:03:57 -08:00
yoyinzyc
cab4cace5e tests: change MANUAL_VER to 3.4.3 2019-11-25 10:57:47 -08:00
yoyinzyc
5a1102341e e2e: only expect cluster's major version is > 3 in release upgrade tests. 2019-11-25 10:57:27 -08:00
Jingyi Hu
ec5221774c
Merge pull request #11363 from yeasy/patch-1
docs: Update the raft usage by adding Hyperledger project
2019-11-20 16:18:32 -08:00
Jingyi Hu
908ef19d86
Merge pull request #11374 from YoyinZyc/put_throughput_metrics
mvcc: add "etcd_mvcc_put_size_in_bytes" metrics
2019-11-19 23:38:30 -08:00
yoyinzyc
a5e747b2d4 mvcc: update to "etcd_debugging_mvcc_total_put_size_in_bytes" 2019-11-19 15:41:58 -08:00
yoyinzyc
28f40d7794 mvcc: add "etcd_mvcc_put_size_in_bytes" to monitor the throughput of put request. 2019-11-19 13:55:37 -08:00