Commit Graph

2502 Commits

Author SHA1 Message Date
Alexey Makhov b7d23d446c
GOMAXPROCS usage instead of NumCPU (#1801) 2021-06-29 10:37:08 +08:00
Ali Josie e757f78923
Update to otel trace v1.0.0-RC1 (stable) and metric v0.21.0 (unstable) (#1802) 2021-06-29 10:23:07 +08:00
monkey92t 63df0e5e75
sync master (#1800)
* Remove OpenTelemetry from the code (but leave redisotel as is) (#1782)

* Add XAutoClaim command (#1780)

* fix typo (#1788)

* xgroup/xadd/xtrim supports new options (#1787)

* support cmd option

XGROUP CREATECONSUMER
XTRIM MINID LIMIT
XADD NOMKSTREAM MINID LIMIT

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

* add XAddArgs.Approx doc

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

* Add Bun to readme

* Upgrade the <sorted set> series of commands (#1792)

* Upgrade the <sorted set> series of commands

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

* Cancel the Deprecated mark of ZAddNX and ZAddXX

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

* Explain the use restrictions of KeepTTL. (#1799)

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

* Adjust KeepTTL annotation.

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

* the hello command throws possible errors, It may affect the "read timeout" test result.

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

Co-authored-by: Vladimir Mihailenco <vladimir.webdev@gmail.com>
Co-authored-by: ericmillin <31105612+ericmillin@users.noreply.github.com>
Co-authored-by: heyanfu <1145291570@qq.com>
2021-06-28 17:40:38 +08:00
Vladimir Mihailenco 9cfca5827d Tweak readme 2021-06-28 10:51:31 +03:00
monkey92t b64f087691 Adjust KeepTTL annotation.
Signed-off-by: monkey92t <golang@88.com>
2021-06-25 14:51:18 +08:00
monkey92t 960e4d6cf0
Explain the use restrictions of KeepTTL. (#1799)
Signed-off-by: monkey92t <golang@88.com>
2021-06-25 11:58:21 +08:00
monkey92t f0b2f90143
Upgrade the <sorted set> series of commands (#1792)
* Upgrade the <sorted set> series of commands

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

* Cancel the Deprecated mark of ZAddNX and ZAddXX

Signed-off-by: monkey92t <golang@88.com>
2021-06-23 18:47:10 +08:00
Vladimir Mihailenco 526725c5f8 Add Bun to readme 2021-06-21 09:45:47 +03:00
monkey92t 43ec1464d9
xgroup/xadd/xtrim supports new options (#1787)
* support cmd option

XGROUP CREATECONSUMER
XTRIM MINID LIMIT
XADD NOMKSTREAM MINID LIMIT

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

* add XAddArgs.Approx doc

Signed-off-by: monkey92t <golang@88.com>
2021-06-15 16:48:35 +08:00
heyanfu 14d82a2d93
fix typo (#1788) 2021-06-09 00:58:16 +08:00
ericmillin 237bad5284
Add XAutoClaim command (#1780) 2021-06-04 23:04:36 +08:00
Vladimir Mihailenco 6e4eb2e3ac
Remove OpenTelemetry from the code (but leave redisotel as is) (#1782) 2021-06-03 19:01:51 +08:00
monkey92t bd6402ab3e
Merge pull request #1776 from monkey92t/v9
Merge master to v9
2021-06-01 11:59:46 +08:00
monkey92t fdbd0dd76a Merge branch 'master' into v9
Signed-off-by: monkey92t <golang@88.com>
2021-06-01 11:21:13 +08:00
MrChenCode 036605d7c6
add ZDiffStore command (#1775) 2021-06-01 10:02:09 +08:00
MrChenCode 74246e0ccf
add ZInter command (#1768) 2021-05-29 21:11:47 +08:00
monkey92t f521e51383
the "keys have no pre-determined position" command specifies the position of the key (#1769) 2021-05-28 23:15:26 +08:00
monkey92t ad4d0a506a
fix #1766 2021-05-27 11:24:24 +08:00
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 fe9bc126b7
sync master to v9 (#1760)
* Added missing idle args in XPendingExtArgs (#1750)

Added missing idle args in XPendingExtArgs

* fix #1754 (#1756)

* Replace go-pg with bun

* fix #1755

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

* fix read data

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

* fix #1758 (#1759)

fix #1758

Co-authored-by: Parvez <syedparvez72@gmail.com>
Co-authored-by: Vladimir Mihailenco <vladimir.webdev@gmail.com>
2021-05-19 17:43:31 +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 d42071c47a Replace go-pg with bun 2021-05-17 11:56:26 +03: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
monkey92t 8dc84ab860
Merge pull request #1753 from monkey92t/v9
merge master and follow to golang-lint 1.40
2021-05-13 20:05:06 +08:00
monkey 81df6895a8 fix comments
Signed-off-by: monkey <golang@88.com>
2021-05-13 17:56:51 +08:00
monkey 350477a91d Merge branch 'lint-1.40' into v9 2021-05-13 17:54:44 +08:00
Vladimir Mihailenco b60d47d329 Tweak comments 2021-05-13 09:25:36 +03:00
monkey 26373ef2f1 follow to golang-lint 1.40
Signed-off-by: monkey <golang@88.com>
2021-05-13 10:33:38 +08:00
nigel_li eca1bb6b36 Use the right redis client in tests 2021-04-29 16:12:47 +03: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
nigel_li 5ed546f303 Add command SMISMEMBER 2021-04-29 16:09:24 +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
monkey92t 8ad01240a4
Add support for resp3 protocol (#1739)
* support resp3 protocol

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

* Upgrade mod version limit go1.14

https://github.com/go-redis/redis/issues/1715#issuecomment-820685614

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

* Remove the redundant check of ReadReply

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

* fix the problem

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

* workflows add v9

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

* update StringStringMapCmd to MapStringStringCmd

Signed-off-by: monkey <golang@88.com>
2021-04-27 10:04:46 +03: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