go-redis
go-redis copied to clipboard
Redis Go client
I observed that the withConn tests in internal_test.go often fail due to connection errors. Interestingly, they tend to pass in the CI environment. Details: The tests are designed to establish...
issue: #3139 Fixed issue where UUID fields could not be unmarshaled correctly.
When clusters are running with `replica-server-stale-data no`, replicas will return a MASTERDOWN error under two conditions: 1. The primary has failed and we are not serving requests. 2. A replica...
Go versions of the examples in [this page](https://redis.io/docs/latest/develop/data-types/streams/). Note: it's difficult to make the output from the stream commands work well with Go testable examples because of the nondeterministic timestamps....
``` var id uintptr = 123 err := rdb.Set(ctx, "test1", id, 0) if err != nil { t.Fatal(err) } ```
Extend Allow and ReportResult functions to handle a Context. Allow can override the passed in Context. The returned Context is then further passed down to ReportResult. Using this Context it...
Hi, I have a kubedb redis cluster in my kubernetes cluster and I create my go-redis ClusterClient with the Addrs of `[]string{"my-redis.kubedb:6379"}`. This works fine until I do a deployment...
## Expected Behavior Can use UUID type for storing structs in hash tables ## Current Behavior Got `invalid UUID length: 16` error from (uuid *UUID) UnmarshalText ## Possible Solution Add...
add `CLUSTER MYID` command PR ``` 127.0.0.1:6379> CLUSTER MYID "30b1c8d33d1dbfdc2629537d24c2de62e6d1347a" ```