Replies: 1 comment 2 replies
-
There are known issues with the Redis Cluster guarantees, which are discussed here. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Does Redis Cluster have any guarantees on data safety/reliability? I am encountering a weird issue where I am doing a store (SADD) for a new key to Redis Cluster (saves on one of the nodes and I get a successful OK reply). I then have a subsequent Redis Module command running on the same node where I call RedisModule_OpenKey(... REDISMODULE_READ...) on the key I just added but in certain situations, the open function returns NULL (key does not exists). I checked the logs and I did not see any CLUSTERDOWN messages or any messages to indicate that a cluster node is unreachable.
I am running Redis Cluster with 3 master nodes (on 3 different hosts) and zero replicas. The problem seems to occur when Redis Cluster is serving ~30 Redis clients and does not show up when serving fewer (<10 clients). Since I am not running with any slave/replicas, I do not expect this to happen. I could not find anything documentation about the situation I described as mostly the error stale data situation occurs when there are replicas involved.
Beta Was this translation helpful? Give feedback.
All reactions