Hi,

We use a Redis (version 3.0.5) with Linux in our testing environment servers. And have a "master-slave" configuration:
    3 services in separate servers (1 master and 2 slaves)
    3 sentinels in each server

 Redis 3 services configuration:
    min-slaves-to-write 1
    min-slaves-max-lag 50

We are using jedis-2.8 in our application.
sometimes we are seeing "Not enough good slaves to write" failure when pipelining commands

My use case, implemented for Java Jedis2.8 :
    Pipeline masterJedpl = masterJedis.pipelined();
    masterJedpl.set(key,value);
    masterJedpl.sync();

I've been trying to get to the bottom of this for a week now, hoping it was something strange.  but always exists Error.

how to a solve the problems?

thanks !

Comment From: yoav-steinberg

See min-replicas-to-write configuration https://github.com/redis/redis/blob/f041990f2acde5ae1ef67351c6a505f3ef6fcf52/redis.conf#L699-L719 What's probably going on is that yous setting is too high or your slaves are connected properly to the master. I'm closing this as it's old and should have been posted on stackoverflow or some redis user forum.