Commit Graph

1480 Commits

Author SHA1 Message Date
Vladimir Mihailenco d83d4514bd Fix Command parsing 2020-06-05 10:33:39 +03:00
Vladimir Mihailenco 1244ca3ec9 Use Redis stable for testing 2020-06-05 10:33:25 +03:00
y_uuki 23f6dd4187 Support additional flags for ACL in CommandsInfo 2020-06-05 10:33:06 +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 64bb0b7f3a
Merge pull request #1315 from lwightmoon/master
fix NewConnPool checkMinIdleConns data race
2020-05-19 08:52:02 +03:00
Vladimir Mihailenco e63a32f316
Merge pull request #1323 from dengliming/patch-1
Remove deprecated sudo setting.
2020-05-13 08:29:05 +03:00
dengliming 14afb4832e
Remove deprecated sudo setting. 2020-05-12 23:10:04 +08:00
Yiwei Zhuang 5cd9e7f2f8 allow cluster client use limiter 2020-04-30 18:35:46 -07:00
wanglei6 39881392de code fmt 2020-04-30 17:46:50 +08:00
wanglei6 4d5f8a5df3 fix data race 2020-04-30 14:34:48 +08:00
ocallaco c9f2e839d2
add NewTimeCmdResult to allow unit testing with TimeCmd (#1298)
* add NewTimeCmdResult to allow unit testing with TimeCmd

Co-authored-by: Conall OCallaghan <cocallaghan@nvidia.com>
2020-04-18 09:05:16 +03:00
Vladimir Mihailenco fc177c3607
Merge pull request #1292 from shlinym/master
update README.md
2020-04-12 16:06:23 +03:00
shlinym 4505594f5f update README.md 2020-04-12 17:27:32 +08:00
Dirkjan Bussink 9a49a4d91d
Add client instantiation callback to allow more flexible configuration (#1281)
* Add NewClient to Ring options
2020-03-27 15:48:18 +02:00
theo-delaune-argus fea610f7b4 Store time in RFC3339Nano to keep nanoseconds 2020-03-13 17:48:33 +01:00
Vladimir Mihailenco 1c4dd844c4
Merge pull request #1272 from go-redis/fix/test-32bit
Fix tests on 32bit arches
2020-03-10 16:06:23 +02:00
Vladimir Mihailenco 3a6cc55be5 Fix tests on 32bit arches 2020-03-10 15:41:45 +02:00
Vladimir Mihailenco 20a182ceb1 Update changelog 2020-02-22 11:02:03 +02:00
Vladimir Mihailenco 9d1e8a566f
Merge pull request #1263 from go-redis/fix/hset-hmset
Rename HMSet to HSet and restore old HMSet
2020-02-20 08:50:56 +02:00
Vladimir Mihailenco 7df36b4eb7 Rename HMSet to HSet and restore old HMSet 2020-02-19 16:34:34 +02:00
Vladimir Mihailenco 726f6807ac
Merge pull request #1260 from go-redis/fix/txPipelineWriteMulti
Don't allocate tmp slice in txPipelineWriteMulti
2020-02-14 16:25:45 +02:00
Vladimir Mihailenco 218b17f0fc Include multi & exec in pipeline hook 2020-02-14 15:55:16 +02:00
Vladimir Mihailenco 49a0c8c319 Add test for ring and cluster hooks 2020-02-14 14:30:40 +02:00
Vladimir Mihailenco 2e3402d33d Don't allocate tmp slice in txPipelineWriteMulti 2020-02-14 12:55:59 +02:00
Vladimir Mihailenco c01b1dcab8 Tweak doc 2020-02-13 16:13:33 +02:00
Vladimir Mihailenco 709e543f16
Merge pull request #1259 from go-redis/fix/unexport-lock-clone
Unexport Clone and Lock from embedded hooks
2020-02-12 13:44:55 +02:00
Vladimir Mihailenco 512e6c7a40 Unexport Clone and Lock from embedded hooks 2020-02-12 13:02:09 +02:00
Sawit Trisirisatayawong 6bd8d9ce28
README Fix: Added client variable initialisation (redis.NewClient) in quickstartExampleClient() (#1257)
* updated: readme quickstart
2020-02-11 09:35:26 +02:00
Vladimir Mihailenco 68dd70bb72
Merge pull request #1255 from git-hulk/master
Exported the setErr function as public
2020-02-03 16:38:05 +02:00
git-hulk efeb0a2082 Add test case for command set error 2020-02-03 18:18:37 +08:00
git-hulk d52b11cb42 Exported the setErr function as public 2020-02-03 17:53:47 +08:00
Vladimir Mihailenco a579d58c59
Merge pull request #1253 from go-redis/feature/with-timeout
Add WithTimeout
2020-02-02 15:22:13 +02:00
Vladimir Mihailenco d2e52839ee Add WithTimeout 2020-02-02 14:59:27 +02:00
Vladimir Mihailenco 2df96f7ef0
Merge pull request #1252 from go-redis/fix/set-cmd-err
Set error on the commands in case there are no more attempts left
2020-02-02 14:50:31 +02:00
Vladimir Mihailenco 45de1c42ae Set error on the commands in case there are no more attempts left 2020-02-02 14:17:14 +02:00
Vladimir Mihailenco 5edc4c8384
Merge pull request #1251 from go-redis/fix/hook-error-cmd
Set an error returned from the hook on the Cmd
2020-02-02 12:13:49 +02:00
Vladimir Mihailenco bdcf7a49a2 Set an error returned from the hook on the Cmd 2020-02-02 11:55:35 +02:00
Vladimir Mihailenco db45a825cc Remove SetLimiter 2020-02-02 11:09:27 +02:00
Vladimir Mihailenco 4eb2debcdc Don't create empty map when value is missing 2020-02-02 10:48:23 +02:00
yeplato a8704c3bd0
let XReadGroup skip empty message and process next message (#1243)
* let XReadGroup skip empty message and process next message
2020-02-02 10:46:20 +02:00
Furkan Senharputlu 8a0ab1aaa7
Make universal options functions public (#1250)
* Make universal options functions public
2020-01-29 17:36:52 +02:00
Vladimir Mihailenco 2f96fd1378 Fix doc 2020-01-20 11:57:46 +02:00
Vladimir Mihailenco c1595381b1
Merge pull request #1241 from YangKian/master
Fix sample code for Sort method in README
2020-01-19 12:17:32 +02:00