Commit Graph

1275 Commits

Author SHA1 Message Date
Vladimir Mihailenco b44ed0b27d chore: update readme 2021-12-04 17:34:56 +02:00
Vladimir Mihailenco 16ab0f2ac3 Add qscan to iterator 2020-08-07 09:52:31 +03:00
Vladimir Mihailenco 2aca83490d
Merge pull request #1320 from FurqanSoftware/v6
Prevent panic during nil to string type assertion
2020-05-21 09:08:40 +03:00
Mahmud Ridwan a204d6794a Prevent panic during nil to string type assertion; closes #1319 2020-05-11 23:04:19 +06:00
Vladimir Mihailenco 99cd690a70 Don't create empty map for nil values 2020-02-02 10:52:57 +02:00
yeplato 0fdd200bc7
let XReadGroup skip empty message and process next message (#1244)
* let XReadGroup skip empty message and process next message
2020-02-02 10:49:32 +02:00
sobolevsv 7f69d5e320 Sentinel goroutine leak fixed (#1173)
Make sure to close the sentinel
2019-10-08 12:42:12 +03:00
Vladimir Mihailenco 17c058513b
Merge pull request #1150 from pierrre/feature/v6-remove-module
Remove go.mod and go.sum
2019-09-03 17:20:02 +03:00
Pierre Durand 6ecd53950e Remove go.mod and go.sum
v6 branch is not compatible with Go module, and causes issue with Go 1.13.
The simplest solution is to remove the module support.

v7 will have correct module support.

Fixes #1149
2019-09-03 16:17:48 +02:00
Vladimir Mihailenco c5c4ad6a4c
Merge pull request #1124 from go-redis/fix/port-single-conn-pool
Port SingleConnPool fix to v6
2019-08-13 17:24:31 +03:00
Vladimir Mihailenco 2a22983249 Port SingleConnPool fix to v6 2019-08-13 17:04:39 +03:00
Vladimir Mihailenco 75795aa423
Merge pull request #1000 from kassiansun/master
Add go.mod and go.sum
2019-05-03 11:29:31 +03:00
Andrea Spacca 97e6ed8178 Ring instrumentantions (#1017)
* Ring instrumentantions
2019-04-24 09:33:36 +03:00
Vladimir Mihailenco 3227091087 Fix link 2019-04-22 16:57:58 +03:00
Vladimir Mihailenco a46b053aa6 More granular locking 2019-04-22 12:50:13 +03:00
Andrea Spacca be4c4f3f38 Ring Watch (#1015)
* Ring Watch
2019-04-22 12:48:06 +03:00
Vladimir Mihailenco 721116ac0e
Merge pull request #1014 from nnimo/pubsub-panic-fix
fix pubsub panic on redis reload
2019-04-19 18:10:12 +03:00
Нимо 0f8e53e874 fix pubsub panic on redis reload 2019-04-18 19:06:16 +03:00
Vladimir Mihailenco 3f9b4d7004
Merge pull request #1012 from sosiska/patch-1
Some code improvements
2019-04-18 11:47:09 +03:00
Kirill Motkov eca4e5d04c Some code improvements
* Rewrite if-else chain as a switch.
* Rewrite switch statement with only one case as if.
* Remove always true condition.
* Simplify some functions.
2019-04-17 16:14:30 +03:00
Vladimir Mihailenco 6b2a39a436
Merge pull request #1011 from aspacca/master
Added WrapProcessPipeline to UniversalClient, wrap c.processTxPipelin…
2019-04-14 12:15:48 +03:00
Andrea Spacca 9d63d8db54 Added WrapProcessPipeline to UniversalClient, wrap c.processTxPipeline in cluster client 2019-04-14 10:56:15 +02:00
Vladimir Mihailenco cb1c190bed
Merge pull request #1010 from kak-tus/pipe_timeouts
Add comments about pipeline technique.
2019-04-13 12:39:01 +03:00
Andrey Kuzmin 4f66c5f32b Move comment to Pipeliner interface.
To remove all text copies.
2019-04-12 15:08:00 +03:00
Andrey Kuzmin d7b83274b7 Add comments about pipeline technique.
Notes about it's usage in case of big pipelines and low read/write timeouts.
2019-04-12 12:52:10 +03:00
Vladimir Mihailenco 292bdd8230
Merge pull request #1009 from go-redis/fix/float32-helper
Add Float32 helper
2019-04-10 16:25:47 +03:00
sam-ke 94ec556725 Add Float32 helper 2019-04-10 15:31:43 +03:00
Vladimir Mihailenco 2f1ad94a2a
Merge pull request #1006 from francoispqt/patch-1
Typo error in comments
2019-04-08 15:14:23 +03:00
Francois Parquet af59960088
Typo error in comments 2019-04-08 20:06:31 +08:00
Kassian Sun 569307e34d Add go.mod and go.sum 2019-03-29 10:49:40 +08:00
Vladimir Mihailenco a679e61442 travis: add Go v1.12 2019-03-25 13:21:10 +02:00
Vladimir Mihailenco 174bea5e4c
Merge pull request #996 from go-redis/fix/max-age-min-idle-conns
Fix MinIdleConns and MaxConnAge
2019-03-25 13:20:25 +02:00
Vladimir Mihailenco b706478fdc Fix MinIdleConns and MaxConnAge 2019-03-25 13:02:31 +02:00
Vladimir Mihailenco 9ecae37814
Merge pull request #993 from go-redis/fix/full-chan-drop-message
pubsub: drop a message when the channel is full
2019-03-12 13:07:51 +02:00
Vladimir Mihailenco b6fdeca648 Add PubSub.ChannelSize 2019-03-12 12:48:32 +02:00
Vladimir Mihailenco 21913a8304 pubsub: drop a message when the channel is full 2019-03-12 12:40:08 +02:00
Vladimir Mihailenco 0d39ee8976
Merge pull request #987 from go-redis/fix/channels-random-node
Use random node when there are no channels
2019-03-07 14:31:53 +02:00
Vladimir Mihailenco 5c012a3872 Use random node when there are no channels 2019-03-07 12:24:43 +02:00
Vladimir Mihailenco b665d8fcf2 Rename copy to clone 2019-03-05 16:10:34 +02:00
Vladimir Mihailenco 4b1665dfdc readme: fix link 2019-03-03 11:39:22 +02:00
Vladimir Mihailenco 69c8af34df
Merge pull request #982 from EtienneM/fix/sentinel_commands
Add a couple of sentinel commands
2019-03-01 11:23:49 +02:00
Vladimir Mihailenco d22fde8721
Merge pull request #978 from go-redis/fix/lua-readonly-error
Retry master node on readonly errors. Fixes #977
2019-02-27 13:11:02 +02:00
Vladimir Mihailenco ac9e1abf54 Retry master node on readonly errors. Fixes #977 2019-02-27 12:53:44 +02:00
Étienne Michon c340532290
Add the master sentinel command 2019-02-21 18:38:36 +01:00
Étienne Michon 3c02e56ed9
Add the flushconfig sentinel command 2019-02-21 18:38:36 +01:00
Vladimir Mihailenco bd542089bb
Merge pull request #976 from EtienneM/fix/sentinel_reset
Add the reset sentinel command
2019-02-21 10:29:04 +02:00
Étienne Michon 64411c1a52
Add the reset sentinel command 2019-02-20 16:24:58 +01:00
Vladimir Mihailenco 35e2db2f14
Merge pull request #974 from EtienneM/fix/973/sentinel_failover
Add the failover sentinel command
2019-02-20 15:48:28 +02:00
Étienne Michon c341fb219f
Add the failover sentinel command 2019-02-20 11:39:33 +01:00
Vladimir Mihailenco 73ef066b86
Merge pull request #972 from go-redis/fix/streams-comment
Add Streams comment
2019-02-19 16:30:15 +02:00