Commit Graph

1875 Commits

Author SHA1 Message Date
Vladimir Mihailenco 37f5a2b1cd Update changelog 2021-05-26 15:12:25 +03:00
monkey92t 8e8510431d
Improve pubsub (#1764)
* Improve pubsub

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

* Extract code to channel struct and tweak API

* Move chanSendTimeout to channel

* Cleanup health check

* Add WithChannelSendTimeout and tweak comments

* clear notes

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

Co-authored-by: Vladimir Mihailenco <vladimir.webdev@gmail.com>
2021-05-26 11:25:18 +08:00
monkey92t f83600d1a5
Merge pull request #1762 from MrChenCode/master
add command zdiff
2021-05-23 20:13:44 +08:00
chenguijun 7a7b75e081 add command zDiff
Signed-off-by: chenguijun <18811388234@163.com>
2021-05-23 16:55:03 +08:00
monkey92t 1393126c29
fix #1758 (#1759)
fix #1758
2021-05-19 16:52:13 +08:00
monkey 76393b5b71 fix read data
Signed-off-by: monkey <golang@88.com>
2021-05-18 16:05:17 +08:00
monkey 3871963e2d fix #1755
Signed-off-by: monkey <golang@88.com>
2021-05-18 15:41:20 +08:00
Vladimir Mihailenco f33c425a30 Replace go-pg with bun 2021-05-17 11:56:12 +03:00
monkey92t 8f0fbd2fe8
fix #1754 (#1756) 2021-05-16 00:37:22 +08:00
Parvez 31495ac570
Added missing idle args in XPendingExtArgs (#1750)
Added missing idle args in XPendingExtArgs
2021-05-13 23:15:37 +08:00
monkey92t 44f5c06755
Merge pull request #1752 from monkey92t/lint-1.40
follow to golang-lint 1.40
2021-05-13 20:05:17 +08:00
monkey 26373ef2f1 follow to golang-lint 1.40
Signed-off-by: monkey <golang@88.com>
2021-05-13 10:33:38 +08:00
Vladimir Mihailenco 7d319aeb57
Merge pull request #1743 from nigelis/bugfix/tests
Use the right redis client in tests
2021-04-29 16:12:18 +03:00
Vladimir Mihailenco b45fc83959
Merge pull request #1742 from nigelis/feature/add_smismember_command
Add command SMISMEMBER
2021-04-29 16:08:08 +03:00
Omri Hazan b8cda18db9
Fix typo in README (#1744) 2021-04-29 08:45:13 +03:00
nigel_li a57742d171 Use the right redis client in tests 2021-04-28 14:39:03 +08:00
nigel_li 610581533e Add command SMISMEMBER 2021-04-28 13:56:44 +08:00
Vladimir Mihailenco 803592d454 Otel v0.20.0 2021-04-25 12:16:13 +03:00
Vladimir Mihailenco 8d87a75fd6
Merge pull request #1734 from monkey92t/failover_tls
fix #1732
2021-04-21 13:30:31 +03:00
monkey 0b855ecda5 fix #1732
Signed-off-by: monkey <golang@88.com>
2021-04-21 15:47:53 +08:00
Vladimir Mihailenco b7720fd8e7
Merge pull request #1731 from angristan/remove-unused-variable
sentinel: removed unused field QuerySentinelRandomly
2021-04-20 08:48:45 +03:00
Stanislas Lange 71502a3e44
sentinel: removed unused field QuerySentinelRandomly
Introduced in 8b19c31049
but all references were removed in 8d9ebc8459
2021-04-19 18:53:38 +02:00
Vladimir Mihailenco 06183e65f8 Merge branch 'master' of github.com:go-redis/redis 2021-04-18 14:49:36 +03:00
Vladimir Mihailenco 217c470568 extra/redisotel: add readme and example 2021-04-18 14:49:28 +03:00
Vladimir Mihailenco 157b1642d4
Merge pull request #1729 from skryukov/feature/load-script-to-all-shards
ScriptLoad, ScriptExists and ScriptFlush for ClusterClient
2021-04-17 08:25:38 +03:00
Svyatoslav Kryukov 5557db4fc9
ScriptLoad, ScriptExists and ScriptFlush for ClusterClient 2021-04-16 23:01:32 +03:00
Vladimir Mihailenco 5e5bb5964d Cleanup and isolate tests 2021-04-16 17:23:20 +03:00
monkey92t 8bdf0bf6c0
add command decoding benchmark (#1726)
* add command decoding benchmark

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

* fix "call to (*B).Fatalf from a non-test goroutine"

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

* Add a newline at the end of the file

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

* Get cmdsInfoCache from redis-server

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

* reinforce benchmark-decode

Signed-off-by: monkey <golang@88.com>
2021-04-16 16:32:48 +03:00
Vladimir Mihailenco f7ac48d4d5 v8.8.2 2021-04-16 15:00:57 +03:00
Vladimir Mihailenco ef568e261e Add constructors 2021-04-16 15:00:10 +03:00
Vladimir Mihailenco 24c92382c9 Make extra modules to follow go-redis versioning 2021-04-16 14:55:14 +03:00
Vladimir Mihailenco ef410de385 Merge branch 'master' of github.com:go-redis/redis 2021-04-16 14:50:26 +03:00
Vladimir Mihailenco 91cbbdaf18 Update rediscmd 2021-04-16 14:50:17 +03:00
Vladimir Mihailenco a47d2c2085
Merge pull request #1723 from maguec/add_lmove_command
add LMove with tests
2021-04-15 16:18:25 +03:00
Chris Mague fc72d5f0d0 add LMove with tests 2021-04-13 17:28:55 -07:00
Vladimir Mihailenco 20322ac8ed
Merge pull request #1720 from leizihui/support-mapstrstr
hmset support map[string]string
2021-04-09 08:40:11 +03:00
leizihui a8a196f328 hmset support map[string]string 2021-04-09 11:27:11 +08:00
Vladimir Mihailenco d67e2911b9 Update comments 2021-04-08 10:02:22 +03:00
Vladimir Mihailenco 8b2a7107ee
Merge pull request #1718 from monkey92t/golangci
upgrade golangci-lint to v1.39.0
2021-04-08 09:55:56 +03:00
monkey a2410beb43 upgrade golangci-lint to v1.39.0
Signed-off-by: monkey <golang@88.com>
2021-04-08 14:44:31 +08:00
Vladimir Mihailenco 085647a59e
Merge pull request #1717 from wangtuanjie/master
Cmdable interface: add XInfoConsumers method
2021-04-08 08:50:11 +03:00
wangtuanjie 5b4bc5cab5 Cmdable interface: add XInfoConsumers method 2021-04-06 22:13:34 +08:00
Vladimir Mihailenco 1e30221353 Rename GetEX to GetEx to better distinguish from XX and NX suffixes 2021-03-27 17:22:10 +02:00
Vladimir Mihailenco 2be507f8e7
Merge pull request #1711 from monkey92t/add-cmd
add cmd(getex / getdel / hrandfield / zrandmember)
2021-03-27 17:14:30 +02:00
monkey e3ce4ea661 remove PERSIST, add unit tests to ensure the stability of ZRandMember and HRandField.
Signed-off-by: monkey <golang@88.com>
2021-03-27 17:49:55 +08:00
monkey e7dbdda439 add HRANDFIELD and ZRANDMEMBER commands
Signed-off-by: monkey <golang@88.com>
2021-03-27 10:37:44 +08:00
monkey cb1be727e3 add new cmd: getEX getDel
Signed-off-by: monkey <golang@88.com>
2021-03-26 17:13:22 +08:00
Vladimir Mihailenco 55db07d5d1
Merge pull request #1703 from go-redis/feature/workflow
Replace travis with workflows
2021-03-23 11:25:14 +02:00
Vladimir Mihailenco 02a9c81ef1 Fix golangci-lint check 2021-03-23 11:02:29 +02:00
Vladimir Mihailenco e3c1e884eb Replace travis with workflows 2021-03-23 10:29:15 +02:00