Commit Graph

2506 Commits

Author SHA1 Message Date
Vladyslav Vildanov 5e71770940
Merge branch 'v9.6' into cp-retract-to-9.6 2024-07-25 10:52:04 +03:00
ofekshenawa b0b94e79e0
Change CI to 7.4.0-RC2 (#3070) 2024-07-25 10:51:53 +03:00
ofekshenawa 98f9122833 CP retract and bump to 9.6.1 2024-07-24 14:17:29 +03:00
ofekshenawa 22f1efdfc7 Retract versions 9.5.3 and 9.5.4 2024-07-24 14:15:55 +03:00
Monkey 44ba2ee08b
feat: reduce the type assertion of CheckConn (#3066)
* feat: reduce the type assertion of CheckConn

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

* fix: correct the function names

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

---------

Signed-off-by: monkey92t <golang@88.com>
2024-07-19 10:15:46 +03:00
Vladyslav Vildanov 9cfeb30f62
Bump version of go-redis to 9.6.0 (#3059)
* Bump version of go-redis to 9.6.0

* Trigger CI on branch v9.6
2024-07-17 11:53:49 +03:00
dependabot[bot] 49bfbf2a1e chore(deps): bump golangci/golangci-lint-action from 4 to 6 (#2993)
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 4 to 6.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v4...v6)

---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Monkey <golang@88.com>
2024-07-17 11:18:58 +03:00
LINKIWI 2c146dc104 Avoid unnecessary retry delay following MOVED and ASK redirection (#3048) 2024-07-17 11:18:58 +03:00
naiqianz 233ff45ac9 add test for tls connCheck #3025 (#3047)
* add a check for TLS connections.
2024-07-17 11:18:58 +03:00
tzongw 5c9c468bd9 Support Hash-field expiration commands in Pipeline & Fix HExpire HExpireWithArgs expiration (#3038)
* Support Hash-field expiration commands in Pipeline

* Fix HExpire & HExpireWithArgs expiration

* Fix HExpire & HPExpire Testcase

* Update commands_test.go

---------

Co-authored-by: ofekshenawa <104765379+ofekshenawa@users.noreply.github.com>
Co-authored-by: Monkey <golang@88.com>
2024-07-17 11:18:58 +03:00
ofekshenawa 1a0a68f9cd Support Hash-field expiration for 7.4 CE RC2 (#3040)
Co-authored-by: Monkey <golang@88.com>
Co-authored-by: Vladyslav Vildanov <117659936+vladvildanov@users.noreply.github.com>
2024-07-17 11:18:58 +03:00
Srikar Jilugu 27dd84c777 fix node routing in slotClosestNode (#3043)
* fix node routing when all nodes are failing

* fix minlatency zero value
2024-07-17 11:18:58 +03:00
Immersed 51b6e2c85f Update pubsub.go (#3042)
Change context.Background() to ctx
2024-07-17 11:18:58 +03:00
ofekshenawa 649d3b6d31 Change monitor test to run manually (#3041)
* Change monitor test to run manually

* fix
2024-07-17 11:18:58 +03:00
dependabot[bot] a400f091fb chore(deps): bump rojopolis/spellcheck-github-actions (#3028)
Bumps [rojopolis/spellcheck-github-actions](https://github.com/rojopolis/spellcheck-github-actions) from 0.36.0 to 0.38.0.
- [Release notes](https://github.com/rojopolis/spellcheck-github-actions/releases)
- [Changelog](https://github.com/rojopolis/spellcheck-github-actions/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rojopolis/spellcheck-github-actions/compare/0.36.0...0.38.0)

---
updated-dependencies:
- dependency-name: rojopolis/spellcheck-github-actions
  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>
Co-authored-by: Monkey <golang@88.com>
2024-07-17 11:18:58 +03:00
Andrew Haines 2d7382e8cc
Add `(*StatusCmd).Bytes()` method (#3030)
Signed-off-by: Andrew Haines <andrew@haines.org.nz>
Co-authored-by: Monkey <golang@88.com>
2024-06-21 11:00:16 +08:00
dependabot[bot] fc4c8bd2f7
chore(deps): bump golang.org/x/net in /example/otel (#3000)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.20.0 to 0.23.0.
- [Commits](https://github.com/golang/net/compare/v0.20.0...v0.23.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Monkey <golang@88.com>
2024-06-21 09:58:08 +08:00
b1ron 3975cd5380
Add support for XREAD last entry (#3005)
* add support for XREAD last entry

* handle reading from multiple streams

* add test to ensure we block for empty stream

* small tweak

* add an option to XReadArgs instead

* modify test comment

* small preallocation optimization

* Changed argument to generic ID, skip tests on Enterprise

* Fix test case

* Updated expiration command

---------

Co-authored-by: Vladyslav Vildanov <117659936+vladvildanov@users.noreply.github.com>
Co-authored-by: vladvildanov <divinez122@outlook.com>
2024-06-20 11:25:51 +03:00
ofekshenawa 445d2667eb
remove tests from RE (#3035) 2024-06-20 02:25:49 +03:00
Gabriel Erzse 097cddbeb0
Support NOVALUES parameter for HSCAN (#2925)
* Support NOVALUES parameter for HSCAN

Issue #2919

The NOVALUES parameter instructs HSCAN to only return the hash keys,
without values.

* Update hash_commands.go

---------

Co-authored-by: ofekshenawa <104765379+ofekshenawa@users.noreply.github.com>
2024-06-20 01:24:45 +03:00
Vladyslav Vildanov 0777247baa
Added test case for CLIENT KILL with MAXAGE option (#2971)
* Added test case for CLIENT KILL with MAXAGE option

* Fixed sleep value

* Added additional condition to kill specific connection

* Test commit

* Test commit

* Updated test case to handle timeouts

---------

Co-authored-by: ofekshenawa <104765379+ofekshenawa@users.noreply.github.com>
2024-06-20 01:00:09 +03:00
ofekshenawa a9b4c5cfe6
Support Hash-field expiration commands (#2991)
* Add HExpire command

* Add HPExpire, HexpireAt, HPExpireAt, HTTL, HPTTL, HPersist,HExpireTime, HPExpireTIme, HGetF, HSetF commands

* add docstring

* add tests and fix commands

* modify commands

* api changes

* fix tests

* remove tests from RE
2024-06-20 00:59:27 +03:00
ofekshenawa 2a3de7e1fc
Change redis version from 7.2 to 7.4 in makefile (#3034)
* Change redis version from 7.2 to 7.4

* fix jsonGet test

* Add 'watch' to client info

* Remove jsonGet from Enterprise tests
2024-06-20 00:08:35 +03:00
Vladimir Mihailenco f752b9a9d5
Release/v9.5.3 (#3018)
* chore: ignore package.json

* chore: release v9.5.3 (release.sh)
2024-06-07 17:04:08 +03:00
Monkey 2d8fa02ac2
fix: fix #2681 (#2998)
Signed-off-by: monkey92t <golang@88.com>
2024-05-29 10:55:28 +08:00
Sam Xie 0f0a28464c
Remove skipping span creation by checking parent spans (#2980)
* Remove skipping span creation by checking parent spans

* Update CHANGELOG
2024-05-10 09:52:32 +03:00
Dávid Baláž b64d9deef3
Handle IPv6 in isMovedError (#2981)
* Handle IPv6 in isMovedError

* Simplify GetAddr

---------

Co-authored-by: Monkey <golang@88.com>
2024-04-28 12:37:44 +08:00
Dávid Baláž fa9edecebc
Fix XGroup first pos key (#2983) 2024-04-27 14:42:30 +08:00
Akash Darshan 90c7a414ac
Adding BitfieldRo in BitMapCmdable interface (#2962)
Co-authored-by: Monkey <golang@88.com>
2024-04-22 01:22:00 +08:00
deferdeter 9f1522a91e
Fix typo in comment (#2972)
Signed-off-by: deferdeter <deferdeter@outlook.com>
2024-04-17 00:02:39 +08:00
高木同学 f7f34feddf
Optimize docs useless imports and typo (#2970) 2024-04-14 22:59:09 +08:00
kindknow 6960bcc08d
chore: fix some comments (#2967)
Signed-off-by: kindknow <iturf@sina.com>
Co-authored-by: Monkey <golang@88.com>
2024-04-14 01:15:23 +08:00
singular-seal f5496d14dd
Fix for issues #2959 and #2960 (#2961)
Co-authored-by: Hu Ying <ying.hu@shopee.com>
2024-04-12 23:10:12 +08:00
Monkey 6833d2f8e1
fix: #2956 (#2957)
Signed-off-by: monkey92t <golang@88.com>
Co-authored-by: Vladimir Mihailenco <vladimir.webdev@gmail.com>
2024-04-06 16:21:14 +03:00
John 683f4fa6a6
fix misuses of a vs an (#2936)
Signed-off-by: hishope <csqiye@126.com>
Co-authored-by: ofekshenawa <104765379+ofekshenawa@users.noreply.github.com>
Co-authored-by: Monkey <golang@88.com>
2024-04-04 09:16:30 +08:00
Endre Sara f3fe61148b
add server address and port attributes to redis otel trace instrumentation (#2826)
Co-authored-by: esara <esara@causely.io>
2024-03-27 08:56:11 +02:00
dependabot[bot] 8b15101fa0
chore(deps): bump google.golang.org/protobuf in /example/otel (#2944)
Bumps google.golang.org/protobuf from 1.32.0 to 1.33.0.

---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: ofekshenawa <104765379+ofekshenawa@users.noreply.github.com>
2024-03-21 13:18:41 +02:00
ofekshenawa 9749cdb3b3
Remove secrets from Redis Enterprise CI (#2938)
* Remove secrets from re tests

* change env vars

* change env vars
2024-03-21 11:48:23 +02:00
ofekshenawa 34dacf14a7
Fix monitor on go 1.19 (#2908)
* Fix monitor on go 1.19

* Remove exmaple tests when go 1.19

* Fix typo

* Fix typo

* Skip exmaple test

* Skip exmaple test

* Guard Peek call with mutex for thread safety
2024-03-21 10:48:31 +02:00
dependabot[bot] a923df1984
chore(deps): bump google.golang.org/protobuf in /extra/redisprometheus (#2942)
Bumps google.golang.org/protobuf from 1.28.1 to 1.33.0.

---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-19 19:24:57 +02:00
ofekshenawa 65c527c39c
Change RE image to public RE image (#2935) 2024-03-06 15:55:33 +02:00
ofekshenawa d43a9fa887
Bump go-redis version to 9.5.1 (#2917) 2024-02-20 17:44:29 +02:00
ofekshenawa 5da49b1aba
bug: Fix SETINFO ensuring it is set-and-forget (#2915)
* Exexcute set-info without validation

* Fix tests

* Remove spaces from runtime.Version

* fix typo

* Send setinfo after auth

* Add pipline

* fix golangci

* revert fixing typo

* support sentinel
2024-02-20 17:34:35 +02:00
ofekshenawa 99527f0ac1
docs: README update to highlight how to disable sending client identification (#2913) 2024-02-20 16:37:22 +02:00
ofekshenawa b5a9e5d2c6
Bump go-redis version to 9.5.0 (#2905)
* Bump go-redis version to 9.4.1

* Bump go-redis version to 9.5.0
2024-02-18 19:16:42 +02:00
ofekshenawa 35de49a8da
Speed up connections by sending SetInfo via a pipeline (#2880)
* Send Client SetInfo via pipe

* Fix ACL test

* Add client set info to acl command rules
2024-02-15 12:48:56 +02:00
ofekshenawa 8afc2b9314
Remove freq object test from RE tests (#2904) 2024-02-14 23:28:28 +02:00
fengyun.rui d383038a0f
feat: add object fraq command (#2844)
* feat: add object fraq command

Signed-off-by: rfyiamcool <rfyiamcool@163.com>

* feat: add object fraq command

Signed-off-by: rfyiamcool <rfyiamcool@163.com>

---------

Signed-off-by: rfyiamcool <rfyiamcool@163.com>
Co-authored-by: ofekshenawa <104765379+ofekshenawa@users.noreply.github.com>
2024-02-14 23:05:05 +02:00
fengyun.rui f0ecdb4190
docs: update features (#2846)
Signed-off-by: rfyiamcool <rfyiamcool@163.com>
Co-authored-by: ofekshenawa <104765379+ofekshenawa@users.noreply.github.com>
2024-02-14 23:04:23 +02:00
John Du Hart 516abe867d
add CredentialsProvider to ClusterOptions (#2791) 2024-02-14 23:03:18 +02:00