I am using a system of 5 master 5 replica. As per my use case i prefer availability over inconsistency , so when some slots are getting lost due to some failure then i want to allow partial reads and writes. I performed the following steps:
-
First i changed the property to cluster-require-full-coverage to 'no'. Which actually enables my cluster to accept writes even if all slots are not covered.
-
Wanted to do the same and alllow partial read operations, so i changed the property cluster-allow-reads-when-down to yes. But on starting the redis server again I got the following error.
- But when i resatarted my redis-server by removing the property cluster-allow-reads-when-down, it restarted properly.
Please help here
Comment From: itamarhaber
Hello @Srthak100
Which Redis version are you using? This feature was introduced via #6144 and appears to exist only in v6.
Comment From: Srthak100
Thanks for the reply @itamarhaber I am using the following version. Redis server v=5.0.7 sha=00000000:0 malloc=jemalloc-5.1.0 bits=64 build=91145edf25c40cd7 So this feature is still not supported till version 5.0.8 ?
Comment From: itamarhaber
We already have 5.0.9 and it doesn't include this. Ping @antirez - maybe add this to the next v5.0.x?
Comment From: Srthak100
@itamarhaber @antirez Just to confirm is this feature included in the latest relased stable version v6.0.4