1
0
mirror of https://github.com/redis/go-redis.git synced 2025-06-11 03:21:38 +03:00
Commit Graph

9 Commits

Author SHA1 Message Date
80c373be46 chore: remove unused param (#3382)
* chore: remove unused param

Signed-off-by: fukua95 <fukua95@gmail.com>

* chore: rename a unused param to `_`

Signed-off-by: fukua95 <fukua95@gmail.com>

---------

Signed-off-by: fukua95 <fukua95@gmail.com>
2025-05-19 19:22:51 +03:00
e2149b06f7 Use correct slot for COUNTKEYSINSLOT command (#3327) 2025-04-16 18:32:57 +03:00
7fa451c740 chore: fewer test dependencies 2023-01-27 15:01:50 +00:00
97b491aace chore: update import path 2023-01-23 08:48:54 +02:00
7c6f677890 test: add TestRingShardsCleanup 2022-11-22 23:55:13 +01:00
7335ef65dc chore: cleanup 2022-11-21 11:31:38 +02:00
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
d9e2420125 Fix build 2020-05-21 10:03:09 +03:00
0d132966a4 Add missing options to UniversalOptions 2018-08-15 08:44:06 +03:00