shouldn't this be <= 1?  Replicas doesn't exclude the master, does it?