Commit Graph

38 Commits

Author SHA1 Message Date
Justin Sievenpiper f66582f44f
feat: add acl auth support for sentinels 2021-09-17 23:39:26 -07:00
Vladimir Mihailenco 9b6ee9c3cc chore: gofmt all code 2021-09-08 16:52:29 +03:00
monkey92t fd3025bfed
Revert "ConnPool check fd for bad conns (#1824)" (#1849)
This reverts commit 346bfafddd.
2021-08-06 17:16:22 +08:00
do it 346bfafddd
ConnPool check fd for bad conns (#1824)
* conncheck for badconn (#1821)

* format imports

* fix ut: pool with badconn

* fix unstable ut: should facilitate failover

* Revert "fix unstable ut: should facilitate failover"

This reverts commit c7eeca2a5c.

* fix test error

Signed-off-by: monkey92t <golang@88.com>

Co-authored-by: hidu <duv123+github@gmail.com>
Co-authored-by: monkey92t <golang@88.com>
2021-07-20 17:23:48 +08:00
Vladimir Mihailenco 573638ff0c Unexport helper command 2021-03-12 16:08:58 +02:00
monkey af3827aeab fix test error
Signed-off-by: monkey <golang@88.com>
2021-03-12 19:06:11 +08:00
Vladimir Mihailenco b85a319370 Make build more stable 2020-09-11 16:56:02 +03:00
Vladimir Mihailenco cbce5dbfa2 Add Sentinel RouteBy 2020-09-11 16:06:08 +03:00
Vladimir Mihailenco b657760cca Tweak number of retries 2020-09-11 12:13:27 +03:00
Vladimir Mihailenco f82e4988ec Fix flaky test 2020-09-10 09:19:07 +03:00
Vladimir Mihailenco 690d9a94f3 Rename SlowLog to SlowLogGet 2020-09-09 18:09:26 +03:00
Vladimir Mihailenco 457cdea58f Fix build 2020-09-09 17:40:37 +03:00
Vladimir Mihailenco 4877841b11 Rename ReadOnly to SlaveOnly and cleanup 2020-09-09 17:03:47 +03:00
Ehsan Afzali 6c85ee767a Add NewFailoverClusterClient 2020-09-09 15:37:52 +03:00
Vladimir Mihailenco c357d18624 Faster renew the subscription 2020-09-05 10:56:09 +03:00
Dmitry Shmulevich 7597d0def7 use 3 sentinel instances in unit testing
Signed-off-by: Dmitry Shmulevich <dmitry.shmulevich@sysdig.com>
2020-09-03 12:11:56 -07:00
Vladimir Mihailenco befee0e2d1 Increase timeout 2020-08-15 16:23:14 +03:00
Vladimir Mihailenco 3dcb844106 Bump major version 2020-05-19 08:52:38 +03:00
Vladimir Mihailenco f5593121e0 Add ctx as first arg 2020-05-19 08:52:38 +03:00
Vladimir Mihailenco 7779accbea Use semantic import versioning 2019-08-08 14:29:44 +03:00
Vladimir Mihailenco f18a97fc94 Increase timeout 2018-12-13 11:06:27 +02:00
Vladimir Mihailenco fbc8000fd1 Resent client pool when sentinel switches master 2017-06-29 16:53:49 +03:00
Vladimir Mihailenco f1ed2ad288 Add FlushDBAsync and FlushAllAsync 2017-06-17 12:53:16 +03:00
Vladimir Mihailenco 8040d63c4f Remove gopkg.in 2017-02-19 09:49:21 +02:00
Vladimir Mihailenco f5245efa73 Prepare v5 release. 2016-10-09 10:56:53 +00:00
Vladimir Mihailenco 38d30a4bab Use redis.v4 that is in alpha/beta state. 2016-04-09 13:27:16 +03:00
Vladimir Mihailenco f47fb47df0 Extract race tests to separate file. Add more race tests. 2016-03-16 19:45:35 +02:00
Vladimir Mihailenco 18ea75d2ad Release redis.v3 beta. 2015-05-14 16:24:19 +03:00
Vladimir Mihailenco 1078a303ea sentine: don't pass DB and Password to Sentinel client. 2015-05-14 16:13:45 +03:00
Vladimir Mihailenco 2dc61d458a Refactor Set, SetNX and SetXX with expiration. 2015-03-30 16:49:08 +03:00
Vladimir Mihailenco 7f87de6109 Make sentinel tests more reliable. 2015-01-30 16:45:57 +02:00
Dimitrij Denissenko e16db84e4a Better redis process abstraction 2015-01-25 11:56:11 +00:00
Dimitrij Denissenko f6bca78168 Migrates tests to ginkgo/gomega 2015-01-25 11:56:03 +00:00
Vladimir Mihailenco b68ae5e548 Fix rate limiter and add test. 2014-11-13 15:08:25 +02:00
Vladimir Mihailenco ffe62d60e2 Add example for failover client. 2014-07-13 15:49:46 +03:00
Vladimir Mihailenco 42ce58ed85 sentinel_test: increase timeout to make build more reliable. 2014-07-04 13:36:49 +03:00
Vladimir Mihailenco 900e7c9572 Make tests verbose to debug build. 2014-07-04 13:32:32 +03:00
Vladimir Mihailenco e4b55ec4ee Add sentinel tests. 2014-07-02 18:08:52 +03:00