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
Vladimir Mihailenco
0884e48a21
chore: improve cluster pipeline retries
2022-11-21 11:55:19 +02:00
Vladimir Mihailenco
7335ef65dc
chore: cleanup
2022-11-21 11:31:38 +02:00
Vladimir Mihailenco
dadd6d2785
Merge pull request #2273 from DomParfitt/add-with-conn-tests
...
Add withConn tests
2022-11-21 11:03:25 +02:00
Vladimir Mihailenco
2073dc35ea
Merge pull request #2259 from go-redis/dependabot/go_modules/github.com/stretchr/testify-1.8.1
...
chore(deps): bump github.com/stretchr/testify from 1.8.0 to 1.8.1
2022-11-21 11:02:15 +02:00
dependabot[bot]
a1cc91272b
chore(deps): bump github.com/stretchr/testify from 1.8.0 to 1.8.1
...
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.8.0 to 1.8.1.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.8.0...v1.8.1 )
---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-11-21 09:01:39 +00:00
Vladimir Mihailenco
2f82a5d569
Merge pull request #2280 from go-redis/dependabot/go_modules/github.com/onsi/gomega-1.24.1
...
chore(deps): bump github.com/onsi/gomega from 1.21.1 to 1.24.1
2022-11-21 11:01:01 +02:00
Alexander Yastrebov
d83436b321
fix: fixes ring.SetAddrs and rebalance race ( #2283 )
...
* fix: fixes ring.SetAddrs and rebalance race
The change ensures atomic update of `c.hash` and `c.shards`.
`BenchmarkRingRebalanceLocked` shows rebalance latency:
```
go test . -run=NONE -bench=BenchmarkRingRebalanceLocked -v -count=10 | benchstat /dev/stdin
name time/op
RingRebalanceLocked-8 8.50µs ±14%
```
(Note: it essentially reverts a46b053aa6
)
2022-11-21 11:00:00 +02:00
Vladimir Mihailenco
bbff4dd5dc
chore: fix metrics in redisotel
2022-11-18 15:32:17 +02:00
Vladimir Mihailenco
58e87e00e2
Merge pull request #2286 from go-redis/feat/has-error-prefix
...
feat: add HasErrorPrefix
2022-11-18 13:21:21 +02:00
Vladimir Mihailenco
44af3c09a7
chore: add more metrics to redisotel
2022-11-17 16:24:16 +02:00
Vladimir Mihailenco
d3d8002e89
feat: add HasErrorPrefix
2022-11-17 16:18:04 +02:00
dependabot[bot]
d82ec71ad9
chore(deps): bump github.com/onsi/gomega from 1.21.1 to 1.24.1
...
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega ) from 1.21.1 to 1.24.1.
- [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.21.1...v1.24.1 )
---
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>
2022-11-09 13:52:51 +00:00
Vladimir Mihailenco
f9e60f214b
chore: update example
2022-11-09 15:51:59 +02:00
Vladimir Mihailenco
90144999eb
chore: update readme
2022-11-09 15:18:55 +02:00
Vladimir Mihailenco
dd858eaf07
chore: update otel example
2022-11-09 15:16:13 +02:00
Vladimir Mihailenco
1278a8094f
chore: sync the doc comment
2022-11-09 14:57:10 +02:00
Vladimir Mihailenco
8f6bc464a5
Merge pull request #2275 from stephaniehingtgen/fix-route-randomly-query-param
...
Read in the route_randomly parameter correctly in cluster mode
2022-11-09 14:52:17 +02:00
Stephanie Hingtgen
f236053735
fix: read in route_randomly query param correctly
2022-11-04 11:17:22 -06:00
Dom Parfitt
a54ed5afb2
test: add withConn tests
2022-11-03 10:45:48 +00:00
Vladimir Mihailenco
5350c18740
Merge pull request #2272 from DomParfitt/fix-with-conn-cleanup
...
Capture error correctly in withConn
2022-11-02 12:07:47 +02:00
Dom Parfitt
d1bfaba549
fix: capture error correctly in withConn
2022-11-02 09:11:36 +00:00
Vladimir Mihailenco
f1d6bc91b7
chore: add link to an example
2022-10-20 16:44:05 +03:00
Vladimir Mihailenco
517938a6b0
chore: update example
2022-10-19 15:30:35 +03:00
Vladimir Mihailenco
4cb9d14eb6
chore: update changelog
2022-10-17 16:27:10 +03:00
Vladimir Mihailenco
104c757027
chore: improve docker config
2022-10-16 12:12:35 +03:00
Vladimir Mihailenco
f16c3a7fee
chore: update example
2022-10-16 11:28:12 +03:00
Vladimir Mihailenco
9070a20f41
chore: improve OpenTelemetry example
2022-10-16 11:11:54 +03:00
Vladimir Mihailenco
f6940c80ca
chore: cleanup changelog
2022-10-14 17:05:15 +03:00
Vladimir Mihailenco
53b3c8c1de
Merge pull request #2253 from go-redis/release/v9.0.0-rc.1
...
Release/v9.0.0 rc.1
2022-10-14 17:04:13 +03:00