Problem with lua script replication

23 views
Skip to first unread message

Marc Byrd

unread,
Oct 3, 2014, 2:36:11 PM10/3/14
to redi...@googlegroups.com
Hello,

I have a new problem with lua script replication, which was working fine before.  

Here's my version info

# Server

redis_version:2.9.7

redis_git_sha1:61853a9c

redis_git_dirty:0

redis_build_id:de7edc603686a7be

redis_mode:standalone

os:Linux 2.6.32-344-ec2 x86_64

arch_bits:64

multiplexing_api:epoll

gcc_version:4.4.3


My configuration is a write master, then a fanout replica, then a localhost replica from the fanout.

I wrote a ruby script to test general latency between master to fanout to localhost with a simple SET and GET - the latency is immeasurably low (i.e. with no sleep or loop or retries, the replicated key is successfully read from the downstream servers).  

I verified that the script is replicated to the fanout server (same version) but not to the localhost - this using http://redis.io/commands/script-exists .  

I tried putting sleeps and retries in my ruby code which loads the script (into master) if not found in localhost - to no avail.  

I would be very glad for any help or advice,


Marc

Reply all
Reply to author
Forward
0 new messages