When I pass multiple host:ports for the servers option, then I get this error when lock() is called and undef is returned:
[set] READONLY You can't write against a read only slave., at ../../../../Redis/DistLock.pm line 141.
If I only pass the host:port of the current master, then it works.
So that means that Redis::Dislock is not querying and selecting which host is master. Is that something that is possible to do?
Thanks.