mirror of
https://github.com/hanzokv/go.git
synced 2026-09-24 00:31:51 +00:00
* ring: remove external rendezvous dependency by inlining implementation Replace usage of github.com/dgryski/go-rendezvous with an internal implementation to eliminate the external dependency and avoid licence propagation concerns. The implementation preserves the exact hashing algorithm and behaviour: - same hash combination: khash ^ nhash - same mixing function (xorshift* variant) - same node ordering semantics No functional changes intended. * Refactor TestRendezvous to remove randomString function Replaced function with inline string generation for test cases. * test: refactor RendezvousHash tests to use Ginkgo and Gomega * test: improve RendezvousHash test for per-instance determinism and distribution balance * test: enhance distribution verification in RendezvousHash tests
25 lines
726 B
AMPL
25 lines
726 B
AMPL
module github.com/redis/go-redis/v9
|
|
|
|
go 1.24
|
|
|
|
require (
|
|
github.com/bsm/ginkgo/v2 v2.12.0
|
|
github.com/bsm/gomega v1.27.10
|
|
github.com/cespare/xxhash/v2 v2.3.0
|
|
github.com/zeebo/xxh3 v1.1.0
|
|
go.uber.org/atomic v1.11.0
|
|
)
|
|
|
|
require (
|
|
github.com/klauspost/cpuid/v2 v2.2.10 // indirect
|
|
golang.org/x/sys v0.30.0 // indirect
|
|
)
|
|
|
|
retract (
|
|
v9.15.1 // This version is used to retract v9.15.0
|
|
v9.15.0 // This version was accidentally released. It is identical to 9.15.0-beta.2
|
|
v9.7.2 // This version was accidentally released. Please use version 9.7.3 instead.
|
|
v9.5.4 // This version was accidentally released. Please use version 9.6.0 instead.
|
|
v9.5.3 // This version was accidentally released. Please use version 9.6.0 instead.
|
|
)
|