Commit Graph

2125 Commits

Author SHA1 Message Date
Vladimir Mihailenco 5e89d627dd
Automate release process (#1852) 2021-08-11 22:14:46 +08:00
monkey92t fd3025bfed
Revert "ConnPool check fd for bad conns (#1824)" (#1849)
This reverts commit 346bfafddd.
2021-08-06 17:16:22 +08:00
Vladimir Mihailenco 67ae445d24
Merge pull request #1845 from iph0/master
Added missing method XInfoStreamFull to Cmdable interface
2021-08-06 10:46:22 +03:00
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
Vladimir Mihailenco 4261a2cb2a
Update changelog for v9 (#1843) 2021-08-02 19:03:38 +08:00
monkey92t 38d1749d56
adjust the code (#1842)
* 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>

* 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>

* adjust the code, and fix #1553, #1676

Signed-off-by: monkey92t <golang@88.com>
2021-08-02 19:01:01 +08: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
monkey b8245b56f9 Remove redundant code.
Signed-off-by: monkey <golang@88.com>
2021-07-24 22:24:17 +08:00
monkey 83454856c7 Merge branch 'master' into v9
Signed-off-by: monkey <golang@88.com>
2021-07-24 22:10:04 +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
monkey92t 916da5b2ce
sync v8.11.0 2021-07-02 20:56:25 +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
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