Vladimir Mihailenco
a722cde148
Remove ClusterClient failover tests
2020-09-05 12:16:08 +03:00
Vladimir Mihailenco
fe55405454
Merge pull request #1463 from go-redis/fix/sub-renewal
...
Faster renew the subscription
2020-09-05 11:16:18 +03:00
Vladimir Mihailenco
c357d18624
Faster renew the subscription
2020-09-05 10:56:09 +03:00
Martin Mlynář
49aac99f9d
FailoverClient with read-only support ( #1199 )
...
* FailoverClient with read-only support
2020-09-04 12:54:06 +03:00
Vladimir Mihailenco
1e8d28243e
Merge pull request #1462 from dmitsh/ds-sentinel-test
...
use 3 sentinel instances in unit testing
2020-09-04 08:43:19 +03:00
Vladimir Mihailenco
7eddb752fa
Merge pull request #1460 from apersson/bump-ginkgo
...
Update ginkgo
2020-09-04 08:40:31 +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
ba2f8efa33
Add badge
2020-09-03 18:27:05 +03:00
Anders Persson
116514c825
Update ginkgo
2020-09-02 11:59:10 -07:00
Vladimir Mihailenco
053ec5b672
Update
2020-09-02 09:44:04 +03:00
Vladimir Mihailenco
0f4db2e930
Update sponsors
2020-09-02 09:41:39 +03:00
Vladimir Mihailenco
6115a783e1
Merge pull request #1456 from dmitsh/ds-sentinel-password
...
add Sentinel password to UniversalOptions
2020-09-01 09:28:36 +03:00
Dmitry Shmulevich
574c21139d
add Sentinel password to UniversalOptions
...
Signed-off-by: Dmitry Shmulevich <dmitry.shmulevich@sysdig.com>
2020-08-31 08:57:01 -07:00
Dmitry Shmulevich
9b831b0427
Properly pass username/password in Sentinel ( #1452 )
...
* Properly pass username/password in Sentinel
Signed-off-by: Dmitry Shmulevich <dmitry.shmulevich@sysdig.com>
2020-08-27 08:51:57 +03:00
Vladimir Mihailenco
61ed601bde
Merge pull request #1454 from asuffield/trace-dialer
...
Trace dialer targets in the relevant spans
2020-08-27 08:24:39 +03:00
Andrew Suffield
ea78cc7d7e
add more trace details to dialer spans
2020-08-26 12:24:45 +01:00
Vladimir Mihailenco
2c0d528736
Update otel
2020-08-26 09:46:49 +03:00
Vladimir Mihailenco
eb3080ab65
Update dependencies
2020-08-24 16:25:34 +03:00
Vladimir Mihailenco
befee0e2d1
Increase timeout
2020-08-15 16:23:14 +03:00
Vladimir Mihailenco
3eb3a1da7d
Merge pull request #1443 from go-redis/fix/pool-panics
...
Port pool fixes
2020-08-15 16:20:26 +03:00
Vladimir Mihailenco
6db422f051
Port pool fixes
2020-08-15 15:45:15 +03:00
Vladimir Mihailenco
0ddc3abd36
Merge pull request #1431 from mvrhov/patch-1
...
Prevent index out ouf bunds error
2020-08-07 09:47:21 +03:00
Miha Vrhovnik
40f80e8913
Prevent index out of bunds error
...
I'm reusing this driver for disque client... and get index out of bounds error because there really are just 2 items in array not 3.
2020-08-07 08:05:47 +02:00
Vladimir Mihailenco
0999a925ac
Merge pull request #1434 from GreenHedgehog/master
...
fix nil node dereference when use RouteByLatency in cluster
2020-08-07 08:57:15 +03:00
Pavlov Aleksey
8a5db20d32
fix nil node dereference when use RouteByLatency in cluster
2020-08-06 18:04:04 +03:00
Vladimir Mihailenco
3fbf7df014
Fix test
2020-07-28 16:26:03 +03:00
Vladimir Mihailenco
0f5d67c102
Fix zero backoff
2020-07-28 16:14:54 +03:00
Vladimir Mihailenco
6e3d4a53c6
Tweak backoff
2020-07-28 15:42:38 +03:00
Vladimir Mihailenco
dd8e70ad43
Merge pull request #1419 from lsytj0413/fix-default-dialtimeout
...
feat(option): default dialtimeout take effect when dialer is nil
2020-07-24 16:21:00 +03:00
Vladimir Mihailenco
8d96c4bc30
Merge pull request #1423 from go-redis/fix/retyr-timeout-temporary
...
Retry timeout and retryable error
2020-07-24 16:20:13 +03:00
Vladimir Mihailenco
21a1f58caf
Retry timeout and retryable error
2020-07-24 15:52:15 +03:00
lsytj0413
d184d958d7
feat(option): default dialtimeout take effect when dialer is nil
2020-07-21 15:18:36 +08:00
Vladimir Mihailenco
16e62e05a1
Merge pull request #1414 from go-redis/fix/load-cmds-3-attempts
...
Try 3 random addrs to load commands
2020-07-19 10:28:06 +03:00
Vladimir Mihailenco
862dcbadae
Try 3 random addrs to load commands
2020-07-19 09:51:41 +03:00
刘青
8a3f304b25
Log with context to associate all log by traceID ( #1413 )
...
* Log with context to associate all log by traceID
2020-07-18 09:04:36 +03:00
Vladimir Mihailenco
f2645d373d
Merge pull request #1405 from fishy/atomic-value-last-dial-error
...
Use atomic.Value instead of lock for ConnPool.lastDialError
2020-07-16 10:41:42 +03:00
Vladimir Mihailenco
38c87c1f84
Fix golangci
2020-07-16 10:01:27 +03:00
Vladimir Mihailenco
14c843ef89
gofumports
2020-07-16 09:52:07 +03:00
Tiger He
62469e4f42
Introduce metrics capture with OpenTelemetry ( #1398 )
...
* internal: Add instrumentation
Co-authored-by: reggiemcdonald <regmcdonald95@gmail.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2020-07-15 12:07:07 +03:00
Yuxuan 'fishy' Wang
4f70db6849
Use atomic.Value instead of lock for ConnPool.lastDialError
...
This makes the reading and writing of lastDialError from the pool
faster, as atomic.Value is much more lightweight than the mutex.
Note that using error in atomic.Value directly could cause panics,
because errors could have inconsistent types. Thus wrap them with a
simple struct.
2020-07-14 11:25:59 -07:00
Vladimir Mihailenco
f3d06886e6
RecordError in OpenTelemetryHook
2020-07-09 12:23:03 +03:00
Vladimir Mihailenco
6b9f61cf75
Merge pull request #1400 from alonana/master
...
handle memory usage command arguments
2020-07-09 11:56:30 +03:00
Vladimir Mihailenco
d66af70ae8
Rename clusterAddrs to activeAddrs
2020-07-09 11:35:19 +03:00
Vladimir Mihailenco
f108b8bce3
Merge pull request #1377 from davidfu13/master
...
Make cluster client get updated nodes' addrs
2020-07-09 11:27:43 +03:00
Vladimir Mihailenco
8f29d08432
Don't record proto.Nil
2020-07-09 11:00:23 +03:00
Vladimir Mihailenco
1831363467
Add RecordError
2020-07-09 10:39:46 +03:00
Alon Tamir
c41cbf2756
handle memory usage command arguments
...
See https://github.com/redis/redis/issues/7493
We have to include a special handling for the memory usage command
2020-07-09 10:25:06 +03:00
Vladimir Mihailenco
dd5e03f960
Merge pull request #1397 from johejo/upgrade_xxhash_to_v2
...
upgrade xxhash to v2
2020-07-06 08:15:42 +03:00
Mitsuo Heijo
44e1bf83ea
upgrade xxhash to v2
2020-07-06 13:51:51 +09:00
Vladimir Mihailenco
dc52593c8c
Reload state on read only error
2020-06-30 11:13:15 +03:00