David Fu
bb6761fe83
Make cluster client get updated nodes' addrs
...
During loading state, if all the nodes can't be connected, it's
possible that all the nodes' IP addresses have changed at the same
time. Clear the clusterAddrs so that the cluster client has chance
to get updated nodes' IP addresses by using the initial setting of
cluster addresses.
2020-06-15 15:24:18 +08:00
Vladimir Mihailenco
5b4d00c217
Merge pull request #1375 from mcg-web/patch-1
...
[DOC] Add ctx declaration in readme
2020-06-14 14:39:57 +03:00
Jeremiah VALERIE
bebee12c80
Add ctx declaration in readme
2020-06-14 12:45:37 +02:00
Vladimir Mihailenco
789ee0484f
Remove io.StringWriter
2020-06-12 10:09:32 +03:00
Vladimir Mihailenco
888328aef2
Set Ring.Username
2020-06-12 09:28:14 +03:00
Vladimir Mihailenco
3152667bb5
Merge pull request #1371 from devinsburke/master
...
Re-added password support for AUTH purposes
2020-06-12 09:25:00 +03:00
Devin Burke
fea8458443
Re-added password support for AUTH purposes
2020-06-11 18:58:09 -05:00
Vladimir Mihailenco
408b4d52c8
Fix wording
2020-06-10 17:22:06 +03:00
Vladimir Mihailenco
0fbf4e7221
Tweak log message
2020-06-10 16:44:48 +03:00
Vladimir Mihailenco
ec194ab8f1
Merge pull request #1365 from rvolosatovs/fix/durations
...
Truncate sub-{mili,}second durations to 1
2020-06-10 16:43:50 +03:00
Vladimir Mihailenco
736fa28659
Cleanup
2020-06-10 15:04:12 +03:00
Roman Volosatovs
7f89f75288
Truncate sub-{mili,}second durations to 1
2020-06-10 13:52:27 +02:00
Vladimir Mihailenco
ef82e3705c
Add OnConnect context
2020-06-10 10:36:22 +03:00
Vladimir Mihailenco
e779df5ab1
Add sponsors
2020-06-09 17:59:23 +03:00
Vladimir Mihailenco
1be7055968
Merge pull request #1364 from go-redis/feature/otel-hook
...
Add OpenTelemetryHook
2020-06-09 17:40:23 +03:00
Vladimir Mihailenco
8eed1e67ff
Add OpenTelemetryHook
2020-06-09 17:17:41 +03:00
Vladimir Mihailenco
0f875ec0f6
Merge pull request #1361 from go-redis/feature/rendezvous-hash
...
Use Rendezvous in Ring. Thanks @rafaeleyng for initial idea and implementation
2020-06-08 13:48:59 +03:00
Vladimir Mihailenco
d8c0aae2ea
Merge pull request #1359 from rbg/master
...
Update docs
2020-06-08 13:24:10 +03:00
Vladimir Mihailenco
694e518a8c
Use Rendezvous in Ring. Thanks @rafaeleyng for initial idea and implementation
2020-06-08 13:22:37 +03:00
Robert B Gordon
e6d31f6540
Update docs
...
Looks like these should really be HSet ?
2020-06-07 21:50:34 -05:00
Vladimir Mihailenco
10561b3aa4
Merge pull request #1357 from go-redis/fix/command-info
...
Fix/command info
2020-06-05 10:30:31 +03:00
Vladimir Mihailenco
073d805708
Fix build
2020-06-05 09:55:37 +03:00
Vladimir Mihailenco
2e8ce55021
Fix Command parsing
2020-06-05 09:11:12 +03:00
Vladimir Mihailenco
12d46bf32e
Use Redis stable for testing
2020-06-05 09:08:16 +03:00
y_uuki
949ccaed3a
Support additional flags for ACL in CommandsInfo
2020-06-05 03:27:34 +09:00
Vladimir Mihailenco
a999d1ecd8
Fix example in readme
2020-05-26 12:07:28 +03:00
Vladimir Mihailenco
a8cd040892
Update changelog
2020-05-26 12:05:26 +03:00
Vladimir Mihailenco
3d03b1fa6a
Fix merge
2020-05-21 10:19:17 +03:00
Vladimir Mihailenco
4440575966
Merge branch 'v8'
2020-05-21 10:16:44 +03:00
Vladimir Mihailenco
a7c11d9699
Merge pull request #1285 from kudrykv/issue-1279
...
Use an interface for logging
2020-05-21 10:08:11 +03:00
Vladimir Mihailenco
d9e2420125
Fix build
2020-05-21 10:03:09 +03:00
Vladimir Mihailenco
8f52186ce7
Merge pull request #1332 from go-redis/feature/cluster-new-client
...
Add ClusterOptions.NewClient hook
2020-05-21 09:52:17 +03:00
Vladimir Mihailenco
0c500078e5
Merge pull request #1273 from theo-delaune-argus/time-nanoseconds
...
Store time in RFC3339Nano to keep nanoseconds
2020-05-21 09:39:48 +03:00
Vladimir Mihailenco
6e98832781
Merge pull request #1331 from go-redis/feature/redis-error
...
Add redis.Error interface and export ErrClosed
2020-05-21 09:38:36 +03:00
Vladimir Mihailenco
f8e2e89878
Add ClusterOptions.NewClient hook
...
Replaces https://github.com/go-redis/redis/pull/1316
2020-05-21 09:34:55 +03:00
Vladimir Mihailenco
07656a01bf
Add redis.Error interface and export ErrClosed
...
Fixes https://github.com/go-redis/redis/issues/1295
Closes https://github.com/go-redis/redis/pull/1296
2020-05-21 09:24:54 +03:00
Vladimir Mihailenco
2960952204
Merge pull request #1316 from YiweiZhuang/yzhuang/add_limiter_in_cluster_client
...
allow cluster client to use limiter
2020-05-21 09:12:59 +03:00
Vladimir Mihailenco
eecd319ee3
Fix nil type assertion
2020-05-21 09:11:00 +03:00
filipe oliveira
cf6cf7f450
Add AuthACL
2020-05-21 08:59:51 +03:00
Vladimir Mihailenco
b0b5d03045
Update otel
2020-05-19 08:52:38 +03:00
Vladimir Mihailenco
676984cfdb
Update readme
2020-05-19 08:52:38 +03:00
Vladimir Mihailenco
d2630e5ae9
Add Cmder.FullName
2020-05-19 08:52:38 +03:00
Vladimir Mihailenco
3031343dae
Make cmd.String() faster
2020-05-19 08:52:38 +03:00
Philip Manavopoulos
0557f66418
cmdsInfo to actually use and return the first error
2020-05-19 08:52:38 +03:00
Vladimir Mihailenco
76f0041b12
Fix build
2020-05-19 08:52:38 +03:00
Vladimir Mihailenco
558263e5eb
Remove deprecated Ring options
2020-05-19 08:52:38 +03:00
Vladimir Mihailenco
2b060bb99d
Remove error reporting
2020-05-19 08:52:38 +03:00
Vladimir Mihailenco
66cd13e793
Update otel
2020-05-19 08:52:38 +03:00
Vladimir Mihailenco
61a78caa5d
go mod tidy
2020-05-19 08:52:38 +03:00
Vladimir Mihailenco
3dcb844106
Bump major version
2020-05-19 08:52:38 +03:00