Commit Graph

15954 Commits (b1da829844837b71c37546dda24ce7150b0e771f)

Author SHA1 Message Date
Yuchen Zhou 2e3b55eb7b Changelog-3.5: update changelog for grpc upgrade (#11526) 2020-01-15 17:45:52 -08:00
Ted Yu 250b0acac4 mvcc: check the error return in defragdb (#11524)
Co-authored-by: yutedz <54038175+yutedz@users.noreply.github.com>
2020-01-15 16:57:12 -08:00
Yuchen Zhou 67bf39b2ec vendor: update gRPC Go to v1.26.0 (#11522) 2020-01-15 16:56:21 -08:00
Ted Yu 574ee42ad7 mvcc: rollback tmptx in case of error (#11525)
Co-authored-by: yutedz <54038175+yutedz@users.noreply.github.com>
2020-01-15 13:54:52 -08:00
Jingyi Hu af131b58eb CHANGELOG: update recommended versions (#11520) 2020-01-15 10:05:54 -08:00
wangtuanjie a96bc48268 mvcc: fix snapshot sendRateBytes unit (#11502) 2020-01-14 11:29:05 -08:00
Sahdev Zala 908f45ebe4
Merge pull request #11462 from jingyih/etcdctl_support_watch_progress_notify
etcdctl: support progress notify option
2020-01-14 10:07:37 -05:00
jingyih e90c56020d CHANGELOG-3.5: update 2020-01-14 01:20:36 -08:00
Ted Yu b95a465235 Auth: declare auth variable inside the loop (#11476)
Co-authored-by: yutedz <54038175+yutedz@users.noreply.github.com>
2020-01-13 19:23:00 -08:00
Wenjia 0c787e26bc
Update README.md 2020-01-09 10:06:27 -08:00
Yuchen Zhou 6ffd9f659e tools/benchmark: exit when txn-ops is larger than key-space-size to avoid key duplicated error. (#11499) 2020-01-06 16:36:51 -08:00
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 c0de070527 etcdctl: support progress notify option
Add support for progress notify option to etcdctl watch command.
2019-12-17 14:16:42 -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
Sahdev P. Zala a45b99725f CHANGELOG: add missing changelogs
related #11184 #11211 #11354
2019-12-02 17:28:42 -05: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