Commit Graph

1973 Commits

Author SHA1 Message Date
Kishan B 83f70de29a
Add go 1.17 to the build matrix 2021-08-24 09:51:28 +05:30
dependabot[bot] db669da175
Bump github.com/onsi/gomega from 1.15.0 to 1.16.0 (#1865)
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.15.0 to 1.16.0.
- [Release notes](https://github.com/onsi/gomega/releases)
- [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/gomega/compare/v1.15.0...v1.16.0)

---
updated-dependencies:
- dependency-name: github.com/onsi/gomega
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-23 14:59:40 +08:00
monkey92t afafeda8a3
after the connection pool is closed, no new connections should be added (#1863)
* after the connection pool is closed, no new connections should be added

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

* remove runGoroutine

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

* pool.popIdle add p.closed check

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

* upgrade golangci-lint v1.42.0

Signed-off-by: monkey92t <golang@88.com>
2021-08-19 16:56:23 +08:00
Vladimir Mihailenco bc9d5c8d3a
Add Cmd.Slice helper to cast to []interface{} (#1859) 2021-08-13 15:37:54 +08:00
Vladimir Mihailenco 4029656ad5 Tweak tag.sh 2021-08-12 15:43:44 +03:00
Vladimir Mihailenco 4ed306de42 Create an annotated tag to give release.yml chance to run 2021-08-12 15:00:12 +03:00
Vladimir Mihailenco 74f9a7338f
Merge pull request #1853 from go-redis/release/v8.11.3
Release v8.11.3 (release.sh)
2021-08-12 14:54:07 +03:00
Vladimir Mihailenco 702e7cfe68 Release v8.11.3 (release.sh) 2021-08-12 14:35:44 +03:00
Vladimir Mihailenco 493a4d05c6 Fix release.sh 2021-08-12 14:35:35 +03:00
Vladimir Mihailenco f02921d3da And more 2021-08-12 14:31:54 +03:00
Vladimir Mihailenco 9cd9efd218 More fixes for otel example 2021-08-12 14:30:05 +03:00
Vladimir Mihailenco 084dcdea94 Fix package name in release script 2021-08-12 14:26:13 +03:00
Vladimir Mihailenco 98ed2cbcad Fix otel example 2021-08-12 14:24:39 +03:00
Vladimir Mihailenco 818c0e0b2e Add version.go 2021-08-12 14:15:57 +03:00
dependabot[bot] 047f907625
Bump github.com/onsi/gomega from 1.10.5 to 1.14.0 (#1832)
* Bump github.com/onsi/gomega from 1.10.5 to 1.14.0

Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.10.5 to 1.14.0.
- [Release notes](https://github.com/onsi/gomega/releases)
- [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/gomega/compare/v1.10.5...v1.14.0)

---
updated-dependencies:
- dependency-name: github.com/onsi/gomega
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Upgrade gomega to v1.15.0

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: monkey92t <golang@88.com>
2021-08-12 15:04:39 +08:00
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
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