Commit Graph

2325 Commits

Author SHA1 Message Date
Vladimir Mihailenco 97b491aace chore: update import path 2023-01-23 08:48:54 +02:00
Vladimir Mihailenco 5ca5740d51
Merge pull request #2360 from monkey92t/compatible
docs: updated "Installation" description in README.md
2023-01-23 08:37:40 +02:00
dependabot[bot] 472794be83
chore(deps): bump github.com/onsi/gomega from 1.24.2 to 1.25.0
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.24.2 to 1.25.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.24.2...v1.25.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>
2023-01-23 02:16:17 +00:00
monkey 806266524b docs: updated "Installation" description in README.md
Signed-off-by: monkey <golang@88.com>
2023-01-22 21:31:01 +08:00
Monkey 0b709c7773
Merge pull request #2359 from go-redis/fix/pipeline-mutext
fix: remove mutex from pipeline
2023-01-21 19:20:21 +08:00
monkey bc9216edb2 docs: pipeline documentation changed to "not thread(goroutines) safe"
Signed-off-by: monkey <golang@88.com>
2023-01-21 19:01:53 +08:00
Monkey eeb49d3733
Merge pull request #2358 from monkey92t/fifo
feat: hook mode changed to FIFO
2023-01-21 18:44:14 +08:00
Vladimir Mihailenco 6525bbbaa1 fix: remove mutex from pipeline 2023-01-21 10:53:40 +02:00
Vladimir Mihailenco 767109c632 chore: cleanup names 2023-01-21 10:30:02 +02:00
monkey a5aeb1659b docs: update hook doc
Signed-off-by: monkey <golang@88.com>
2023-01-21 00:20:50 +08:00
monkey 0ed4a4420f fix: fix the withHook func
Signed-off-by: monkey <golang@88.com>
2023-01-21 00:02:44 +08:00
monkey 4f38f2368d test: add hook fifo mode test
Signed-off-by: monkey <golang@88.com>
2023-01-20 23:56:20 +08:00
monkey 97697f488f feat: hook mode is changed to FIFO
Signed-off-by: monkey <golang@88.com>
2023-01-20 23:19:49 +08:00
Vladimir Mihailenco e314cd9846
Merge pull request #2356 from go-redis/fix/cursor-uint64
fix: read cursor as uint64
2023-01-20 15:15:43 +02:00
Vladimir Mihailenco b88bd93662 fix: read cursor as uint64 2023-01-20 13:09:00 +02:00
Monkey 31f6ce0399
Merge pull request #1960 from wjdqhry/feature/struct-to-hashset
feat: HSet, MSet, MSetNX allow structure parameters.
2023-01-19 16:24:21 +08:00
monkey92t 701b1d0a8b fix: 386 platform test
Signed-off-by: monkey92t <golang@88.com>
2023-01-19 16:01:25 +08:00
monkey92t 0064199323 feat: appendArgs adds to read the structure field and supplements the test
Signed-off-by: monkey92t <golang@88.com>
2023-01-19 15:31:31 +08:00
monkey92t 684f34d441 Merge branch 'master' into struct-to-hashset 2023-01-19 15:04:25 +08:00
정보교 913936b4cd fix: change serialize key "key" to "redis" 2023-01-19 13:00:04 +09:00
Monkey d4e63b497d
Merge pull request #2354 from emilienkofman/feat/add_sort_ro
feat: add SORT_RO command
2023-01-18 21:48:36 +08:00
Emilien Kofman ca063fd0ad feat: add SORT_RO command 2023-01-18 12:24:09 +01:00
Monkey 86f4ea13a9
Merge pull request #2345 from monkey92t/zintercard
feat: add zintercard cmd
2023-01-11 13:21:13 +08:00
monkey92t bb65dcdf09 feat: add zintercard cmd
Signed-off-by: monkey92t <golang@88.com>
2023-01-07 23:05:04 +08:00
Monkey 09fcdbe6e4
Merge pull request #2344 from monkey92t/hook
docs: add a description of the hook
2023-01-07 16:52:12 +08:00
monkey92t d42dd1007c docs: add a description of the hook
Signed-off-by: monkey92t <golang@88.com>
2023-01-07 16:30:56 +08:00
Monkey af893143ae
Merge pull request #2338 from monkey92t/readme
docs(README.md): update doc addr, to v9
2023-01-03 18:40:12 +08:00
monkey92t 2fd84242f0 docs(README.md): update doc addr, to v9
Signed-off-by: monkey92t <golang@88.com>
2023-01-03 18:37:13 +08:00
Monkey 7828fa10a8
Merge pull request #2334 from monkey92t/version
test: upgrade redis version(7.0.7)
2022-12-28 22:57:06 +08:00
monkey92t 443f0ec113 test: upgrade redis version(7.0.7)
Signed-off-by: monkey92t <golang@88.com>
2022-12-28 22:38:59 +08:00
Monkey c7bc54b4d0
Merge pull request #2333 from monkey92t/fix_2312
feat: add ClientName option
2022-12-28 22:31:25 +08:00
monkey92t a872c35b1a feat: add ClientName option
Signed-off-by: monkey92t <golang@88.com>
2022-12-28 22:14:52 +08:00
Monkey a4336cbd43
feat(scan): add Scanner interface (#2317)
Signed-off-by: monkey92t <golang@88.com>
2022-12-24 22:29:45 +08:00
Scott 7c4b924350
fix(redisotel): correct metrics.DialHook attrs (#2331) 2022-12-23 20:40:07 +08:00
dependabot[bot] f70c952806
chore(deps): bump github.com/onsi/gomega from 1.24.1 to 1.24.2 (#2320)
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.24.1 to 1.24.2.
- [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.24.1...v1.24.2)

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

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-19 14:37:49 +08:00
Monkey 53cc4b4c6c
test: `TestRingSetAddrsContention` changed to Benchmark (#2316) 2022-12-16 23:34:43 +08:00
Sylvain Rabot 603e972266
test: upgrade redis version (#2315)
Signed-off-by: Sylvain Rabot <sylvain@abstraction.fr>
2022-12-16 17:22:50 +08:00
dependabot[bot] 8a68f7aea2
chore(deps): bump github.com/cespare/xxhash/v2 from 2.1.2 to 2.2.0 (#2304)
Bumps [github.com/cespare/xxhash/v2](https://github.com/cespare/xxhash) from 2.1.2 to 2.2.0.
- [Release notes](https://github.com/cespare/xxhash/releases)
- [Commits](https://github.com/cespare/xxhash/compare/v2.1.2...v2.2.0)

---
updated-dependencies:
- dependency-name: github.com/cespare/xxhash/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-14 22:18:31 +08:00
Vladimir Mihailenco 3dc5e40445 chore: cleanup key checker 2022-12-07 10:38:28 +02:00
Vladimir Mihailenco 3892986f01 feat(redisotel): add code attributes 2022-12-06 11:49:56 +02:00
Vladimir Mihailenco 4bda6ec2fb
Merge pull request #2297 from go-redis/release/v9.0.0-rc.2
chore: release v9.0.0-rc.2 (release.sh)
2022-11-26 14:38:51 +02:00
Vladimir Mihailenco 0b7ced8baf chore: release v9.0.0-rc.2 (release.sh) 2022-11-26 14:20:33 +02:00
Vladimir Mihailenco 4c46468de1
Merge pull request #2292 from AlexanderYastrebov/ring/reduce-set-addrs-shards-locking-2
fix: reduce `SetAddrs` shards lock contention
2022-11-23 09:21:19 +02:00
Alexander Yastrebov 7c6f677890 test: add TestRingShardsCleanup 2022-11-22 23:55:13 +01:00
Alexander Yastrebov 6c05a9f6b1 fix: reduce `SetAddrs` shards lock contention
Introduces a new lock to make `SetAddrs` calls exclusive.
This allows release of shards lock for the duration of potentially long `newRingShards` call.

`TestRingSetAddrsContention` observes number of pings increased from <1000 to ~40_000.

See https://github.com/go-redis/redis/pull/2190#discussion_r953040289

Updates #2077
2022-11-22 23:55:13 +01:00
Vladimir Mihailenco 5502cf6c3a
Merge pull request #2291 from boatrainlsz/master
feat: add support for SINTERCARD command
2022-11-22 14:50:09 +02:00
Vladimir Mihailenco df9162d541
Merge pull request #2294 from go-redis/fix/conn-tx-pipeline
fix: wrap cmds in Conn.TxPipeline
2022-11-22 14:48:25 +02:00
Vladimir Mihailenco 5053db2f9c fix: wrap cmds in Conn.TxPipeline 2022-11-22 14:30:27 +02:00
Alexander Yastrebov a31c1d6ff0 test: add TestRingSetAddrsContention
See https://github.com/go-redis/redis/pull/2190#discussion_r953040289

Updates #2077
2022-11-21 16:06:22 +01:00
boatrainlsz bc51c61a45 feat: add support for SINTERCARD command 2022-11-21 22:11:23 +08:00