Commit Graph

2005 Commits

Author SHA1 Message Date
Vladimir Mihailenco ad880a9644
Merge pull request #1847 from bogdandrutu/otelredis
Run go mod tidy in redisotel
2021-08-06 10:32:11 +03:00
Bogdan Drutu 67082aad38
Run go mod tidy in redisotel
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2021-08-05 10:41:37 -07:00
Eugene Ponizovsky 2ca559d5e5 Added missing method XInfoStreamFull to Cmdable interface 2021-08-05 17:48:09 +03:00
monkey92t 7dad93efa2
add cmd: geosearch, geosearchstore (#1836)
* add cmd: geosearch, geosearchstore

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

* GeoSearchQuery and GeoSearchLocationQuery changed to pointer passing

Signed-off-by: monkey92t <golang@88.com>
2021-07-28 14:38:14 +08:00
monkey92t 437184bded
Upgrade redis-server version (#1833)
* Upgrade redis-server version

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

* XAutoClaim changed the return value

Signed-off-by: monkey <golang@88.com>
2021-07-24 23:46:41 +08:00
MengZeLee 704212eaae
fix typo (#1829) 2021-07-22 10:27:46 +08:00
Matthieu MOREL 54ef62f9b7
Create dependabot.yml (#1826) 2021-07-22 10:26:33 +08:00
do it 346bfafddd
ConnPool check fd for bad conns (#1824)
* conncheck for badconn (#1821)

* format imports

* fix ut: pool with badconn

* fix unstable ut: should facilitate failover

* Revert "fix unstable ut: should facilitate failover"

This reverts commit c7eeca2a5c.

* fix test error

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

Co-authored-by: hidu <duv123+github@gmail.com>
Co-authored-by: monkey92t <golang@88.com>
2021-07-20 17:23:48 +08:00
Anatoly Rugalev 62fc2c821b
Check Failing() before serving random node (#1825)
* Check Failing() before serving random node

* Revert condition

* Addressed review comments

* Fallback to random failing node
2021-07-18 00:20:48 +08:00
ktaekwon000 ce40cd942a
Allow FIFO pool in redis client (#1820)
* Initial commit for FIFO pool

* Change PoolType string to PoolFIFO bool

* Remove redundant type

* add PoolFIFO option to all clients

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

Co-authored-by: Kim Tae Kwon <taekwon.kim@shopee.com>
Co-authored-by: monkey92t <golang@88.com>
2021-07-16 11:58:01 +08:00
Vladimir Mihailenco 247c62ad92 Add contributors 2021-07-14 14:41:02 +03:00
monkey92t 3caf52bceb
Add the count option to the rpop command(fix #1813) (#1815) 2021-07-11 18:27:48 +08:00
monkey92t c1b63a6703
DBSize,ScriptLoad,ScriptFlush and ScriptExists should use hook (#1811)
Signed-off-by: monkey <golang@88.com>
2021-07-05 14:40:10 +08:00
monkey dd4b7eb3b4 add release CHANGELOG
Signed-off-by: monkey <golang@88.com>
2021-06-30 22:44:16 +08:00
Vladimir Mihailenco 27e2efb0af
Remove OpenTelemetry metrics for now (#1805) 2021-06-30 18:40:23 +08:00
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
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
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 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