NOREPLICAS: NOREPLICAS Not enough good replicas to write
RedisWhat does it mean?
Because of the min-replicas-to-write setting, writes are rejected since there are not enough healthy replicas. Redis blocks writes for data safety.
Why does it happen?
Not enough replicas connected/up to date, replica crashes, replication lag exceeding the min-replicas-max-lag limit, network problems, or missing replicas after a failover.
How to fix it
Check replica status: INFO replication. Bring down replicas back up and reduce replication lag. Fix network connectivity. Review the min-replicas-to-write / min-replicas-max-lag settings for your environment (the balance between durability and availability). Provide enough replicas.
More from this engine
- BUSYKEYBUSYKEY Target key name already exists
- ERR no such keyERR no such key
- ERR DUMP payload version or checksum are wrongERR DUMP payload version or checksum are wrong
- ERR This instance has cluster support disabledERR This instance has cluster support disabled
- ERR unknown subcommandERR unknown subcommand or wrong number of arguments
- ERR Client sent AUTH, but no password is setERR AUTH <password> called without any password configured for the default user (Redis 6+) / ERR Client sent AUTH, but no password is set (Redis <6)
- ERR DEBUG command not allowedDEBUG command not allowed